Audio port from er9x (thanks Rob!)

This commit is contained in:
bsongis
2012-01-26 20:15:45 +00:00
parent be6385bf2f
commit a8ec3ddaa7
19 changed files with 1076 additions and 264 deletions
+6 -6
View File
@@ -119,8 +119,8 @@ void doLogs()
if (result != FR_OK)
{
g_logState = -result;
beepAgain = result - 1;
beepKey();
// TODO beepAgain = result - 1;
AUDIO_KEYPAD_UP();
}
else
{
@@ -129,14 +129,14 @@ void doLogs()
if (result != FR_OK)
{
g_logState = -result;
beepAgain = result - 1;
beepKey();
// TODO beepAgain = result - 1;
AUDIO_KEYPAD_UP();
}
else
{
f_lseek(&g_oLogFile, g_oLogFile.fsize); // append
g_logState = 1;
beepWarn2();
AUDIO_WARNING2();
}
}
}
@@ -149,7 +149,7 @@ void doLogs()
else if (g_logState > 0)
{
f_close(&g_oLogFile);
beepWarn2();
AUDIO_WARNING2();
g_logState = 0;
}
}