summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/power.c
diff options
context:
space:
mode:
Diffstat (limited to 'fw/fe310/eos/power.c')
-rw-r--r--fw/fe310/eos/power.c4
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;