summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eve/eve.h
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2020-05-23 23:59:04 +0200
committerUros Majstorovic <majstor@majstor.org>2020-05-23 23:59:04 +0200
commit8cab5fea518d4bf6c680816f8ba8b7b7d9ee7401 (patch)
treefaa5c53a57aaf22e53892e22d29f013f79994c5c /code/fe310/eos/eve/eve.h
parent34da9599242ed7784c42f548e2d188d3d577c866 (diff)
eve power amanger fix
Diffstat (limited to 'code/fe310/eos/eve/eve.h')
-rw-r--r--code/fe310/eos/eve/eve.h10
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);