[Taranis] Debug log kept between sessions
This commit is contained in:
@@ -971,7 +971,7 @@ void sdInit()
|
|||||||
if (f_mount(0, &g_FATFS_Obj) == FR_OK) {
|
if (f_mount(0, &g_FATFS_Obj) == FR_OK) {
|
||||||
refreshSystemAudioFiles();
|
refreshSystemAudioFiles();
|
||||||
#if defined(DEBUG)
|
#if defined(DEBUG)
|
||||||
f_open(&g_telemetryFile, LOGS_PATH "/sport.log", FA_CREATE_ALWAYS | FA_WRITE);
|
f_open(&g_telemetryFile, LOGS_PATH "/sport.log", FA_OPEN_ALWAYS | FA_WRITE);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user