diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-04-08 02:27:15 +0200 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-04-08 02:27:15 +0200 |
commit | 66e53b7e54878e2161f5c0dab6f90aebd9a1d97a (patch) | |
tree | 9ad45a813794be241123596531c993f471c01eb8 /fw/fe310/eos/power.c | |
parent | 4566511371a8a80201c1adb0535cde722cbd9b48 (diff) |
added board.h
Diffstat (limited to 'fw/fe310/eos/power.c')
-rw-r--r-- | fw/fe310/eos/power.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/power.c b/fw/fe310/eos/power.c index 55960c9..6f292b8 100644 --- a/fw/fe310/eos/power.c +++ b/fw/fe310/eos/power.c @@ -74,9 +74,9 @@ uint8_t eos_power_reset_cause(void) { } void eos_power_sleep(void) { - eos_spi_dev_select(EOS_DEV_DISP); + eos_spi_select(EOS_SPI_DEV_EVE); eve_sleep(); - eos_spi_dev_deselect(); + eos_spi_deselect(); eos_net_sleep(1000); AON_REG(AON_PMUKEY) = 0x51F15E; |