Add possibility to reset wifi credentials.
This commit is contained in:
@@ -49,8 +49,9 @@ typedef enum
|
||||
#define PERIOD_TIME_VISU_UPDATE_US (1 * 1000 * 1000) // 1s
|
||||
#define TIMEOUT_LEDDIRECT_US (5 * 1000 * 1000) // 5s
|
||||
|
||||
#define SHORT_PRESS_US (100 * 1000) // 100ms
|
||||
#define LONG_PRESS_US (2 * 1000 * 1000) // 2s
|
||||
#define SHORT_PRESS_US (100 * 1000) // 100ms
|
||||
#define LONG_PRESS_US (2 * 1000 * 1000) // 2s
|
||||
#define VERY_LONG_PRESS_US (10 * 1000 * 1000) // 10s
|
||||
|
||||
// Current limit
|
||||
#define CURRENT_LIMIT_LED 2500 // limit the total current consumed by LEDs (mA)
|
||||
@@ -65,5 +66,4 @@ typedef enum
|
||||
#define MATRIX_WIDTH 11
|
||||
#define MATRIX_HEIGHT 11
|
||||
|
||||
|
||||
#endif /* WORDCLOCK_CONSTANTS_H */
|
||||
|
||||
@@ -43,6 +43,7 @@ void handle_led_direct(void);
|
||||
void load_main_color(void);
|
||||
void ntp_time_update(uint32 *last_ntp_update_us);
|
||||
void on_state_entry(uint8_t state);
|
||||
void reset_wifi_credentials(void);
|
||||
void send_heartbeat(void);
|
||||
void set_main_color(uint8_t red, uint8_t green, uint8_t blue);
|
||||
void set_night_mode(bool on);
|
||||
|
||||
Reference in New Issue
Block a user