Browse Source
Merge pull request #2810 from IoTThinks/MCDev-Fixed-GPS-Time-for-T114-202606
Fixed GPS time sync for Heltec T114
pull/2813/head
Liam Cottle
2 weeks ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
variants/heltec_t114/target.cpp
|
|
@ -22,7 +22,7 @@ AutoDiscoverRTCClock rtc_clock(fallback_clock); |
|
|
|
|
|
|
|
|
#if ENV_INCLUDE_GPS |
|
|
#if ENV_INCLUDE_GPS |
|
|
#include <helpers/sensors/MicroNMEALocationProvider.h> |
|
|
#include <helpers/sensors/MicroNMEALocationProvider.h> |
|
|
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1); |
|
|
MicroNMEALocationProvider nmea = MicroNMEALocationProvider(Serial1, &rtc_clock); |
|
|
EnvironmentSensorManager sensors = EnvironmentSensorManager(nmea); |
|
|
EnvironmentSensorManager sensors = EnvironmentSensorManager(nmea); |
|
|
#else |
|
|
#else |
|
|
EnvironmentSensorManager sensors; |
|
|
EnvironmentSensorManager sensors; |
|
|
|