feat: Support all current timezones for GPS (#3406)

* Support all current timezones.

* Fix function name and calculation for timezone offset.

* Allow setting any time offset value from -12 to +14 in 15 minutes increments.

* Alternate timezone editor in Companion (from elecpower).

* Fix compiler warning.

* chore: Add the T20
This commit is contained in:
philmoz
2023-07-16 14:02:27 +10:00
committed by GitHub
parent 286ae00678
commit bd92f70056
27 changed files with 223 additions and 42 deletions
+3 -1
View File
@@ -1,4 +1,4 @@
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR})
set(generaledit_NAMES
generaledit
@@ -10,6 +10,7 @@ set(generaledit_SRCS
hardware.cpp
trainer.cpp
generaloptions.cpp
timezoneedit.cpp
)
set(generaledit_HDRS
@@ -17,6 +18,7 @@ set(generaledit_HDRS
hardware.h
trainer.h
generaloptions.h
timezoneedit.h
)
set(generaledit_UIS