diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-02-24 19:50:20 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-02-24 19:50:20 +0100 |
commit | 3050565531af2b3a09f2213893f10c64cf9fe43f (patch) | |
tree | 689d10ca064dba4480a85b6ec14a4eb8305d5c89 /fw/fe310/eos/power.h | |
parent | d0a0fee0571be63f023f8f6a49a0b76b89871e56 (diff) |
added test app with voice, wifi/cellular data connectivity examples
Diffstat (limited to 'fw/fe310/eos/power.h')
-rw-r--r-- | fw/fe310/eos/power.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fw/fe310/eos/power.h b/fw/fe310/eos/power.h index 466573f..3eee817 100644 --- a/fw/fe310/eos/power.h +++ b/fw/fe310/eos/power.h @@ -1,7 +1,7 @@ #include <stdint.h> #include "event.h" -#define EOS_PWR_MTYPE_BUTTON 0 +#define EOS_PWR_MTYPE_BUTTON 1 #define EOS_PWR_MAX_MTYPE 2 @@ -19,4 +19,5 @@ uint8_t eos_power_reset_cause(void); void eos_power_sleep(void); void eos_power_wake_at(uint32_t msec); void eos_power_wake_disable(void); -void eos_power_set_handler(unsigned char mtype, eos_evt_handler_t handler);
\ No newline at end of file +void eos_power_set_handler(unsigned char mtype, eos_evt_handler_t handler); +eos_evt_handler_t eos_power_get_handler(unsigned char mtype);
\ No newline at end of file |