Closed ntlhui closed 2 years ago
Suggested patch:
diff --git a/src/ride.cpp b/src/ride.cpp
index 1c4206f..5759690 100644
--- a/src/ride.cpp
+++ b/src/ride.cpp
@@ -139,7 +139,6 @@ STATES_e RideInitTask::run(void)
pSystemDesc->pGPS->encode(GPS_getch());
}
- RIDE_setFileName(millis());
if((pSystemDesc->pGPS->location.age() < GPS_AGE_VALID_MS) && (pSystemDesc->pGPS->location.age() >= 0))
{
@@ -184,6 +183,7 @@ STATES_e RideInitTask::run(void)
void RideInitTask::exit(void)
{
+ RIDE_setFileName(millis());
this->ledStatus.setActive(false);
}
Describe the bug During surf session init state, GPS outputs too much information
To Reproduce Steps to reproduce the behavior:
Expected behavior GPS output should not clobber CLI
Hardware Configuration(please complete the following information):