Projectkk2glider/gps misc fixes (#3970)

* Fixed Lua GPS date (year is now kept with four digits)

* * GPS year displayed with two digits
* GPS date/time handling fixes
This commit is contained in:
Damjan Adamic
2016-11-02 13:03:26 +01:00
committed by Bertrand Songis
parent a332f7a872
commit 5ba14734cb
8 changed files with 13 additions and 28 deletions
+1 -3
View File
@@ -61,11 +61,9 @@ class TelemetryItem
CellValue values[6];
} cells;
struct {
uint8_t datestate;
uint16_t year;
uint16_t year; // full year (4 digits)
uint8_t month;
uint8_t day;
uint8_t timestate;
uint8_t hour;
uint8_t min;
uint8_t sec;