gps: add GpsDriver, handle the hardware and software switches in the drivers
This commit is contained in:
1 parent
978b6e01be
commit
81afafcb35
28 files changed
+892
-468
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user