gps: add GpsDriver, handle the hardware and software switches in the drivers

This commit is contained in:
Florent committed 2026-11-08 08:47:34 -04:00
1 parent 978b6e01be
commit 81afafcb35
28 files changed
+892 -468

No files matched your search

-3
View File
@@ -14,8 +14,6 @@
#endif
class ThinkNodeM1SensorManager : public SensorManager {
bool gps_active = false;
bool last_gps_switch_state = false;
LocationProvider* _location;
void start_gps();
@@ -45,4 +43,3 @@ extern ThinkNodeM1SensorManager sensors;
bool radio_init();
mesh::LocalIdentity radio_new_identity();