diff options
author | Uros Majstorovic <majstor@majstor.org> | 2020-05-23 23:59:04 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2020-05-23 23:59:04 +0200 |
commit | 8cab5fea518d4bf6c680816f8ba8b7b7d9ee7401 (patch) | |
tree | faa5c53a57aaf22e53892e22d29f013f79994c5c /code/fe310/eos/eve/eve.h | |
parent | 34da9599242ed7784c42f548e2d188d3d577c866 (diff) |
eve power amanger fix
Diffstat (limited to 'code/fe310/eos/eve/eve.h')
-rw-r--r-- | code/fe310/eos/eve/eve.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/code/fe310/eos/eve/eve.h b/code/fe310/eos/eve/eve.h index 2fb2fb5..2ac93a2 100644 --- a/code/fe310/eos/eve/eve.h +++ b/code/fe310/eos/eve/eve.h @@ -5,9 +5,13 @@ #include "eve_track.h" #include "eve_platform.h" -#define EVE_OK 0 -#define EVE_ERR -1 -#define EVE_ERR_TEXT -100 +#define EVE_OK 0 +#define EVE_ERR -1 +#define EVE_ERR_TEXT -100 + +#define EVE_PSTATE_ACTIVE 0 +#define EVE_PSTATE_STANDBY 1 +#define EVE_PSTATE_SLEEP 3 void eve_command(uint8_t command, uint8_t parameter); |