Permalink
Browse files

Merge pull request #34 from nyx-project/nyx-rwl

Nyx rwl changes to fix typedefs typo
  • Loading branch information...
2 parents 8febffc + 074fdef commit 0e9535014718c1bce26bc1e60686794debebd8b0 @DrWEbOS DrWEbOS committed Apr 5, 2012
View
@@ -30,6 +30,7 @@ JAVADOC_AUTOBRIEF = YES
INHERIT_DOCS = YES
INLINE_INFO = YES
SORT_MEMBER_DOCS = YES
+SORT_GROUP_NAMES = YES
DISTRIBUTE_GROUP_DOC = NO
TAB_SIZE = 4
GENERATE_TODOLIST = NO
@@ -42,8 +42,7 @@ extern "C" {
/**
* Struct to get current battery readings
*/
-typedef struct
-{
+typedef struct {
bool present; /** True if the battery is present */
bool charging; /** True if the battery is being charged currently */
int32_t percentage; /** Battery capacity in percentage */
@@ -40,8 +40,7 @@ extern "C" {
/**
* This type is an enum describing the type of the bluetooth_input_detect event.
*/
-typedef enum
-{
+typedef enum {
NYX_BLUETOOTH_INPUT_DETECT_EVENT_UNDEFINED = 0, /**< value NYX_BLUETOOTH_INPUT_DETECT_EVENT_UNDEFINED. */
NYX_BLUETOOTH_INPUT_DETECT_EVENT_DEVICE_ID_ADD, /**< value NYX_BLUETOOTH_INPUT_DETECT_EVENT_DEVICE_ID_ADD. */
NYX_BLUETOOTH_INPUT_DETECT_EVENT_DEVICE_ID_REMOVE, /**< value NYX_BLUETOOTH_INPUT_DETECT_EVENT_DEVICE_ID_REMOVE. */
@@ -50,8 +49,7 @@ typedef enum
} nyx_bluetooth_input_detect_event_type_t;
-typedef struct
-{
+typedef struct {
nyx_bluetooth_input_detect_event_type_t event_type;
int32_t value;
@@ -61,8 +61,7 @@ extern "C" {
* Struct to get charger status
*/
-typedef struct nyx_charger_status
-{
+typedef struct nyx_charger_status {
int32_t charger_max_current; /** Max current that can be drawn from any charger connected*/
int32_t connected; /** ORing of all charger types connected */
int32_t powered; /** ORing of all charger types powering the device */
@@ -41,8 +41,7 @@ extern "C" {
/**
* This type is an enum describing the types of haptics effects
*/
-typedef enum
-{
+typedef enum {
HAPTICS_EFFECT_UNDEFINED = 0, /**< value HAPTICS_EFFECT_UNDEFINED. */
HAPTICS_EFFECT_RINGTONE, /**< value HAPTICS_EFFECT_RINGTONE. */
HAPTICS_EFFECT_ALERT, /**< value HAPTICS_EFFECT_ALERT. */
@@ -57,15 +56,13 @@ typedef enum
/**
* This type is an enum describing the direction for a custom haptics effect
*/
-typedef enum
-{
+typedef enum {
HAPTICS_DIRECTION_RIGHT, /**< value HAPTICS_DIRECTION_RIGHT. */
HAPTICS_DIRECTION_LEFT, /**< value HAPTICS_DIRECTION_LEFT. */
} nyx_haptics_direction_t;
-typedef struct
-{
+typedef struct {
int32_t period;
int32_t duration;
nyx_haptics_direction_t direction;
@@ -56,8 +56,7 @@ typedef enum {
/**
* @brief Defines the parameters used by @ref nyx_led_controller_core_configuration_set_param().
*/
-typedef enum
-{
+typedef enum {
NYX_LED_CONTROLLER_CORE_EFFECT_BRIGHTNESS, /**< brightness */
NYX_LED_CONTROLLER_CORE_EFFECT_CENTER_FADE_IN, /**< center_fade_in */
@@ -37,8 +37,7 @@ extern "C" {
*/
-typedef struct
-{
+typedef struct {
float w;
float x;
float y;
@@ -55,7 +54,6 @@ typedef struct {
* Definition of rotation event type.
*/
typedef struct {
-
/** Rotation matrix */
float matrix[9];
/** Quaternion vector of rotation */

0 comments on commit 0e95350

Please sign in to comment.