Log file moved to RAM and aligned for proper DMA access. Log functions renamed.

This commit is contained in:
Damjan Adamic
2016-09-11 21:37:54 +02:00
parent 6ddb9e414f
commit e229c8f8e7
13 changed files with 31 additions and 23 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void menuRadioSdManager(event_t _event)
if (warningResult) {
warningResult = 0;
showMessageBox(STR_FORMATTING);
closeLogs();
logsClose();
#if defined(PCBSKY9X)
Card_state = SD_ST_DATA;
#endif
+1 -1
View File
@@ -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;
+1 -1
View File
@@ -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("/");
+1 -1
View File
@@ -358,7 +358,7 @@ bool menuModelSensor(event_t event)
lcdDrawText(MENUS_MARGIN_LEFT, y, STR_LOGS);
sensor->logs = editCheckBox(sensor->logs, SENSOR_2ND_COLUMN, y, attr, event);
if (attr && checkIncDec_Ret) {
closeLogs();
logsClose();
}
break;
}
+1 -1
View File
@@ -153,7 +153,7 @@ bool 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("/");