summaryrefslogtreecommitdiff
path: root/fw/fe310/test
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-11-30 22:05:17 +0100
committerUros Majstorovic <majstor@majstor.org>2021-11-30 22:05:17 +0100
commit5506d89d97db87f78ab2ba4715c4248a3d49f98f (patch)
treee4ef547d541968e552a6f521ab637084b253fa68 /fw/fe310/test
parentacce7d8e05ac38776d6340342f6a7868df4f7f28 (diff)
startup code uses init/run
Diffstat (limited to 'fw/fe310/test')
-rw-r--r--fw/fe310/test/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/test/main.c b/fw/fe310/test/main.c
index 9cab6f7..f7c85e5 100644
--- a/fw/fe310/test/main.c
+++ b/fw/fe310/test/main.c
@@ -82,7 +82,7 @@ void app_home_page(EVEWindow *window, EVEViewStack *stack) {
int main() {
uint8_t wakeup_cause = eos_power_wakeup_cause();
- int rst = (wakeup_cause == EVE_INIT_RST);
+ int rst = (wakeup_cause == EOS_PWR_WAKE_RST);
printf("\nREADY.\n");
printf("FREQ:%lu\n", PRCI_get_cpu_freq());