uncrustify libraries/AP_GPS/AP_GPS_UBLOX.cpp

This commit is contained in:
uncrustify 2012-08-21 19:19:52 -07:00 committed by Pat Hickey
parent a48aa18d6f
commit 6c885df832

View File

@ -14,9 +14,9 @@
#include <FastSerial.h>
#if UBLOX_DEBUGGING
# define Debug(fmt, args...) do {Serial.printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__ , ##args); delay(0); } while(0)
# define Debug(fmt, args ...) do {Serial.printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, ## args); delay(0); } while(0)
#else
# define Debug(fmt, args...)
# define Debug(fmt, args ...)
#endif
#include "AP_GPS_UBLOX.h"
@ -270,7 +270,7 @@ AP_GPS_UBLOX::_parse_gps(void)
// UBlox auto configuration
/*
update checksum for a set of bytes
* update checksum for a set of bytes
*/
void
AP_GPS_UBLOX::_update_checksum(uint8_t *data, uint8_t len, uint8_t &ck_a, uint8_t &ck_b)
@ -284,7 +284,7 @@ AP_GPS_UBLOX::_update_checksum(uint8_t *data, uint8_t len, uint8_t &ck_a, uint8_
/*
send a ublox message
* send a ublox message
*/
void
AP_GPS_UBLOX::_send_message(uint8_t msg_class, uint8_t msg_id, void *msg, uint8_t size)
@ -308,8 +308,8 @@ AP_GPS_UBLOX::_send_message(uint8_t msg_class, uint8_t msg_id, void *msg, uint8_
/*
configure a UBlox GPS for the given message rate for a specific
message class and msg_id
* configure a UBlox GPS for the given message rate for a specific
* message class and msg_id
*/
void
AP_GPS_UBLOX::_configure_message_rate(uint8_t msg_class, uint8_t msg_id, uint8_t rate)
@ -322,7 +322,7 @@ AP_GPS_UBLOX::_configure_message_rate(uint8_t msg_class, uint8_t msg_id, uint8_t
}
/*
configure a UBlox GPS for the given message rate
* configure a UBlox GPS for the given message rate
*/
void
AP_GPS_UBLOX::_configure_gps(void)