mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
uncrustify libraries/AP_GPS/AP_GPS_MTK16.cpp
This commit is contained in:
parent
87299da0dd
commit
7de08acf09
@ -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;
|
||||||
}
|
* }
|
||||||
*/
|
*/
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user