Log file moved to RAM and aligned for proper DMA access. Log functions renamed.
This commit is contained in:
@@ -348,7 +348,7 @@ void menuModelSensor(event_t event)
|
||||
case SENSOR_FIELD_LOGS:
|
||||
ON_OFF_MENU_ITEM(sensor->logs, SENSOR_2ND_COLUMN, y, STR_LOGS, attr, event);
|
||||
if (attr && checkIncDec_Ret) {
|
||||
closeLogs();
|
||||
logsClose();
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
@@ -163,7 +163,7 @@ void menuRadioSdManager(event_t _event)
|
||||
if (warningResult) {
|
||||
warningResult = 0;
|
||||
showMessageBox(STR_FORMATTING);
|
||||
closeLogs();
|
||||
logsClose();
|
||||
audioQueue.stopSD();
|
||||
if (f_mkfs(0, 1, 0) == FR_OK) {
|
||||
f_chdir("/");
|
||||
|
||||
Reference in New Issue
Block a user