uncrustify libraries/AP_GPS/AP_GPS_MTK16.cpp

This commit is contained in:
uncrustify 2012-08-21 19:19:52 -07:00 committed by Pat Hickey
parent 87299da0dd
commit 7de08acf09

View File

@ -163,16 +163,16 @@ restart:
#endif #endif
/* Waiting on clarification of MAVLink protocol! /* Waiting on clarification of MAVLink protocol!
if(!_offset_calculated && parsed) { * if(!_offset_calculated && parsed) {
int32_t tempd1 = date; * int32_t tempd1 = date;
int32_t day = tempd1/10000; * int32_t day = tempd1/10000;
tempd1 -= day * 10000; * tempd1 -= day * 10000;
int32_t month = tempd1/100; * int32_t month = tempd1/100;
int32_t year = tempd1 - month * 100; * int32_t year = tempd1 - month * 100;
_time_offset = _calc_epoch_offset(day, month, year); * _time_offset = _calc_epoch_offset(day, month, year);
_epoch = UNIX_EPOCH; * _epoch = UNIX_EPOCH;
_offset_calculated = TRUE; * _offset_calculated = TRUE;
} * }
*/ */
} }