add timesync and timezone setup

This commit is contained in:
sharandac
2020-07-21 00:26:48 +02:00
parent 078ad1505b
commit 1221662cc0
15 changed files with 397 additions and 56 deletions

View File

@@ -12,7 +12,7 @@
uint32_t timeout = DISPLAY_MIN_TIMEOUT;
} display_config_t;
#define DISPLAY_COFIG_FILE "/display.cfg"
#define DISPLAY_CONFIG_FILE "/display.cfg"
/*
* @brief setup display
@@ -27,9 +27,13 @@
*/
void display_loop( TTGOClass *ttgo );
/*
* @brief save config for display to spiff
* @brief save config for display to spiffs
*/
void display_save_config( void );
/*
* @brief read config for display from spiffs
*/
void display_read_config( void );
/*
* @brief read the timeout from config
*