diff --git a/flight/UAVTalk/uavtalk.c b/flight/UAVTalk/uavtalk.c index 5835bf8a2..2965123eb 100644 --- a/flight/UAVTalk/uavtalk.c +++ b/flight/UAVTalk/uavtalk.c @@ -96,7 +96,7 @@ static void updateAck(UAVObjHandle obj, uint16_t instId); * Initialize the UAVTalk library * \param[in] outputStream Function pointer that is called to send a data buffer * \return 0 Success - * \return -1 Failure + * \return -1 Failure */ int32_t UAVTalkInitialize(UAVTalkOutputStream outputStream) { @@ -111,7 +111,7 @@ int32_t UAVTalkInitialize(UAVTalkOutputStream outputStream) /** * Get communication statistics counters - * @param[out] statsOut Statistics counters + * @param[out] statsOut Statistics counters */ void UAVTalkGetStats(UAVTalkStats* statsOut) { @@ -126,7 +126,7 @@ void UAVTalkGetStats(UAVTalkStats* statsOut) } /** - * Reset the statistics counters. + * Reset the statistics counters. */ void UAVTalkResetStats() { @@ -147,7 +147,7 @@ void UAVTalkResetStats() * \param[in] instId The instance ID or UAVOBJ_ALL_INSTANCES for all instances. * \param[in] timeout Time to wait for the response, when zero it will return immediately * \return 0 Success - * \return -1 Failure + * \return -1 Failure */ int32_t UAVTalkSendObjectRequest(UAVObjHandle obj, uint16_t instId, int32_t timeout) { @@ -161,7 +161,7 @@ int32_t UAVTalkSendObjectRequest(UAVObjHandle obj, uint16_t instId, int32_t time * \param[in] acked Selects if an ack is required (1:ack required, 0: ack not required) * \param[in] timeoutMs Time to wait for the ack, when zero it will return immediately * \return 0 Success - * \return -1 Failure + * \return -1 Failure */ int32_t UAVTalkSendObject(UAVObjHandle obj, uint16_t instId, uint8_t acked, int32_t timeoutMs) { @@ -185,7 +185,7 @@ int32_t UAVTalkSendObject(UAVObjHandle obj, uint16_t instId, uint8_t acked, int3 * TYPE_OBJ_REQ: request object update * TYPE_OBJ_ACK: send object with an ack * \return 0 Success - * \return -1 Failure + * \return -1 Failure */ static int32_t objectTransaction(UAVObjHandle obj, uint16_t instId, uint8_t type, int32_t timeoutMs) { @@ -456,7 +456,7 @@ int32_t UAVTalkProcessInputStream(uint8_t rxbyte) * \param[in] data Data buffer * \param[in] length Buffer length * \return 0 Success - * \return -1 Failure + * \return -1 Failure */ static int32_t receiveObject(uint8_t type, UAVObjHandle obj, uint16_t instId, uint8_t* data, int32_t length) { @@ -522,7 +522,7 @@ static int32_t receiveObject(uint8_t type, UAVObjHandle obj, uint16_t instId, ui } /** - * Check if an ack is pending on an object and give response semaphore + * Check if an ack is pending on an object and give response semaphore */ static void updateAck(UAVObjHandle obj, uint16_t instId) { @@ -709,5 +709,5 @@ static uint8_t updateCRC(uint8_t crc, const uint8_t* data, int32_t length) /** * @} - * @} + * @} */