Skip to content

Commit a45c584

Browse files
committed
Block SD logging while Web Config is running
Fix #693
1 parent dda9380 commit a45c584

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Firmware/RTK_Everywhere/Tasks.ino

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,11 @@ void handleGnssDataTask(void *e)
12631263
// Determine if the SD card is enabled for logging
12641264
connected = online.logging && ((systemTime_minutes - startLogTime_minutes) < settings.maxLogTime_minutes);
12651265

1266+
// Block logging during Web Config to avoid SD collisions
1267+
// See issue: https://github.com/sparkfun/SparkFun_RTK_Everywhere_Firmware/issues/693
1268+
if(webServerIsRunning() == true)
1269+
connected = false;
1270+
12661271
// If user wants to log, record to SD
12671272
if (!connected)
12681273
// Discard the data

0 commit comments

Comments
 (0)