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:
committed by
Peter Feerick
parent
c088d1d2f9
commit
7800a6de42
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user