deep sleep further development

This commit is contained in:
Klaus K Wilting committed 2020-12-11 16:34:17 +01:00
1 parent 7631a96cac
commit b32e91317f
8 files changed
+83 -58

No files matched your search

+2 -1
View File
@@ -64,7 +64,8 @@ enum runmode_t {
RUNMODE_POWERCYCLE,
RUNMODE_NORMAL,
RUNMODE_WAKEUP,
RUNMODE_UPDATE
RUNMODE_UPDATE,
RUNMODE_SLEEP
};
// Struct holding devices's runtime configuration
+3 -1
View File
@@ -18,11 +18,13 @@
// table of remote commands and assigned functions
typedef struct {
const uint8_t opcode;
void (*func)(uint8_t []);
void (*func)(uint8_t[]);
const uint8_t params;
const bool store;
} cmd_t;
extern bool rcmd_busy;
void rcommand(const uint8_t cmd[], const uint8_t cmdlength);
void do_reset(bool warmstart);