mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-11-22 22:37:58 +00:00
gps: move the gps CLI to GpsPrefs and convert all targets
This commit is contained in:
1 parent
df5a768c5d
commit
fe6a47d0c9
69 files changed
+381
-301
No files matched your search
@@ -11,7 +11,8 @@ WRAPPER_CLASS radio_driver(radio, board);
|
||||
VolatileRTCClock fallback_clock;
|
||||
AutoDiscoverRTCClock rtc_clock(fallback_clock);
|
||||
#ifdef ENV_INCLUDE_GPS
|
||||
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1, &rtc_clock);
|
||||
NmeaGpsDriver gps_driver(Serial1);
|
||||
MicroNMEALocationProvider nmea(gps_driver, &rtc_clock);
|
||||
EnvironmentSensorManager sensors = EnvironmentSensorManager(nmea);
|
||||
#else
|
||||
EnvironmentSensorManager sensors = EnvironmentSensorManager();
|
||||
|
||||
Reference in new issue
Block a user