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:
@@ -76,7 +76,7 @@ extern uint8_t warningInfoFlags;
|
|||||||
#define POPUP_MENU_START(func) do { popupMenuHandler = (func); AUDIO_KEY_PRESS(); } while (0)
|
#define POPUP_MENU_START(func) do { popupMenuHandler = (func); AUDIO_KEY_PRESS(); } while (0)
|
||||||
#define POPUP_MENU_MAX_LINES 12
|
#define POPUP_MENU_MAX_LINES 12
|
||||||
#define MENU_MAX_DISPLAY_LINES 6
|
#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_SET_BSS_FLAG()
|
||||||
#define POPUP_MENU_UNSET_BSS_FLAG()
|
#define POPUP_MENU_UNSET_BSS_FLAG()
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
@@ -519,7 +519,7 @@ const pm_char * eeBackupModel(uint8_t i_fileSrc)
|
|||||||
len = sizeof(MODELS_PATH) + PSIZE(TR_MODEL) + 2;
|
len = sizeof(MODELS_PATH) + PSIZE(TR_MODEL) + 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined(RTCLOCK) && LCD_W >= 212
|
#if defined(RTCLOCK)
|
||||||
char * tmp = strAppendDate(&buf[len]);
|
char * tmp = strAppendDate(&buf[len]);
|
||||||
len = tmp - buf;
|
len = tmp - buf;
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user