mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 16:25:16 +03:00
SDCARD backup with empty model name works now
This commit is contained in:
parent
0aa0f96346
commit
33c4363c93
1 changed files with 1 additions and 1 deletions
|
@ -562,7 +562,7 @@ const pm_char * eeArchiveModel(uint8_t i_fileSrc)
|
|||
i--;
|
||||
}
|
||||
|
||||
if (len == sizeof(MODELS_PATH)) {
|
||||
if (len == 0) {
|
||||
uint8_t num = i_fileSrc + 1;
|
||||
strcpy_P(&buf[sizeof(MODELS_PATH)], STR_MODEL);
|
||||
buf[sizeof(MODELS_PATH) + PSIZE(TR_MODEL)] = (char)((num / 10) + '0');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue