1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Minor tweak for coding standard compliance.

This commit is contained in:
Richard Flay (Hyper) 2012-11-15 07:45:35 +10:30
parent eda6b6a24a
commit 6c0b91dee7

View File

@ -63,16 +63,16 @@ $(DATAFIELDS)
* @param[out] dataOut
*/
static inline __attribute__((always_inline))
int32_t $(NAME)Get($(NAME)Data* dataOut) { return UAVObjGetData($(NAME)Handle(), dataOut); }
int32_t $(NAME)Get($(NAME)Data *dataOut) { return UAVObjGetData($(NAME)Handle(), dataOut); }
static inline __attribute__((always_inline))
int32_t $(NAME)Set(const $(NAME)Data* dataIn) { return UAVObjSetData($(NAME)Handle(), dataIn); }
int32_t $(NAME)Set(const $(NAME)Data *dataIn) { return UAVObjSetData($(NAME)Handle(), dataIn); }
static inline __attribute__((always_inline))
int32_t $(NAME)InstGet(uint16_t instId, $(NAME)Data* dataOut) { return UAVObjGetInstanceData($(NAME)Handle(), instId, dataOut); }
int32_t $(NAME)InstGet(uint16_t instId, $(NAME)Data *dataOut) { return UAVObjGetInstanceData($(NAME)Handle(), instId, dataOut); }
static inline __attribute__((always_inline))
int32_t $(NAME)InstSet(uint16_t instId, const $(NAME)Data* dataIn) { return UAVObjSetInstanceData($(NAME)Handle(), instId, dataIn); }
int32_t $(NAME)InstSet(uint16_t instId, const $(NAME)Data *dataIn) { return UAVObjSetInstanceData($(NAME)Handle(), instId, dataIn); }
static inline __attribute__((always_inline))
int32_t $(NAME)ConnectQueue(xQueueHandle queue) { return UAVObjConnectQueue($(NAME)Handle(), queue, EV_MASK_ALL_UPDATES); }
@ -96,10 +96,10 @@ static inline __attribute__((always_inline))
void $(NAME)InstUpdated(uint16_t instId) { UAVObjInstanceUpdated($(NAME)Handle(), instId); }
static inline __attribute__((always_inline))
int32_t $(NAME)GetMetadata(UAVObjMetadata* dataOut) { return UAVObjGetMetadata($(NAME)Handle(), dataOut); }
int32_t $(NAME)GetMetadata(UAVObjMetadata *dataOut) { return UAVObjGetMetadata($(NAME)Handle(), dataOut); }
static inline __attribute__((always_inline))
int32_t $(NAME)SetMetadata(const UAVObjMetadata* dataIn) { return UAVObjSetMetadata($(NAME)Handle(), dataIn); }
int32_t $(NAME)SetMetadata(const UAVObjMetadata *dataIn) { return UAVObjSetMetadata($(NAME)Handle(), dataIn); }
static inline __attribute__((always_inline))
int8_t $(NAME)ReadOnly() { return UAVObjReadOnly($(NAME)Handle()); }