Audio fixes (#3818)
* * Switches audio filenames were wrong [Horus] * sdAvailableLogicalSwitchAudioFiles was too small (we now have 64 LSW), fixed with BitFiled class * Enabled Travis Gtests on Horus * SD card version mismatch trace * Re #3815: Audio debug timers added
This commit is contained in:
committed by
Bertrand Songis
parent
9a40902c9d
commit
91cea45a43
@@ -993,6 +993,7 @@ void checkSDVersion()
|
||||
if (f_read(&versionFile, &version, sizeof(version), &read) != FR_OK ||
|
||||
read != sizeof(version) ||
|
||||
strncmp(version, REQUIRED_SDCARD_VERSION, sizeof(version)) != 0) {
|
||||
TRACE("SD card version mismatch: %.*s, %s", sizeof(REQUIRED_SDCARD_VERSION)-1, version, REQUIRED_SDCARD_VERSION);
|
||||
ALERT(STR_SD_CARD, STR_WRONG_SDCARDVERSION, AU_ERROR);
|
||||
}
|
||||
f_close(&versionFile);
|
||||
|
||||
Reference in New Issue
Block a user