Allow datestamp for ARM 128x64 model backups (#4534)
* Allow datestamp for x7 model backups * Add ability to restore too * Make this all 128x64 instead of x7 only
This commit is contained in:
@@ -332,7 +332,7 @@ void menuModelSelect(event_t event)
|
||||
if (event) reusableBuffer.modelsel.eepromfree = EeFsGetFree();
|
||||
lcdDrawNumber(17*FW, 0, reusableBuffer.modelsel.eepromfree, RIGHT);
|
||||
#endif
|
||||
|
||||
|
||||
#if defined(PCBX7)
|
||||
drawScreenIndex(MENU_MODEL_SELECT, DIM(menuTabModel), 0);
|
||||
#elif defined(ROTARY_ENCODER_NAVIGATION)
|
||||
|
||||
@@ -76,7 +76,7 @@ extern uint8_t warningInfoFlags;
|
||||
#define POPUP_MENU_START(func) do { popupMenuHandler = (func); AUDIO_KEY_PRESS(); } while (0)
|
||||
#define POPUP_MENU_MAX_LINES 12
|
||||
#define MENU_MAX_DISPLAY_LINES 6
|
||||
#define MENU_LINE_LENGTH (LEN_MODEL_NAME+1)
|
||||
#define MENU_LINE_LENGTH (LEN_MODEL_NAME+12)
|
||||
#define POPUP_MENU_SET_BSS_FLAG()
|
||||
#define POPUP_MENU_UNSET_BSS_FLAG()
|
||||
enum {
|
||||
|
||||
@@ -519,7 +519,7 @@ const pm_char * eeBackupModel(uint8_t i_fileSrc)
|
||||
len = sizeof(MODELS_PATH) + PSIZE(TR_MODEL) + 2;
|
||||
}
|
||||
|
||||
#if defined(RTCLOCK) && LCD_W >= 212
|
||||
#if defined(RTCLOCK)
|
||||
char * tmp = strAppendDate(&buf[len]);
|
||||
len = tmp - buf;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user