fix: B&W needs to know about spaces as well!

Finishes #645 as model notes with `_` and `0x20`
(space) are tested for  model notes filename also.
This commit is contained in:
Peter Feerick
2022-08-14 11:50:40 +10:00
committed by Peter Feerick
parent c088d1d2f9
commit 7800a6de42
4 changed files with 14 additions and 8 deletions
+1 -1
View File
@@ -450,7 +450,7 @@ const char * eeBackupModel(uint8_t i_fileSrc)
}
buf[sizeof(MODELS_PATH)-1] = '/';
strcpy(strcat_modelname(&buf[sizeof(MODELS_PATH)], i_fileSrc), STR_MODELS_EXT);
strcpy(strcat_modelname(&buf[sizeof(MODELS_PATH)], i_fileSrc, 0), STR_MODELS_EXT);
FRESULT result = f_open(&archiveFile, buf, FA_CREATE_ALWAYS | FA_WRITE);
if (result != FR_OK) {