diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-02-28 18:38:37 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-02-28 18:38:37 +0100 |
commit | 6a4c8a1f11f6a7bd57b0fd618f455bcdecbfe538 (patch) | |
tree | 6d16dbc38b3bac0e91d39f3e86bb6810761ddb84 /fw/fe310/eos/power.c | |
parent | 468e81e6da66f6dfec3a4857dc6e2f370ab180f1 (diff) |
net send will do selected spi dev pause/resume if more is set and netowk is not active
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 8717553..55960c9 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_start(EOS_DEV_DISP); + eos_spi_dev_select(EOS_DEV_DISP); eve_sleep(); - eos_spi_dev_stop(); + eos_spi_dev_deselect(); eos_net_sleep(1000); AON_REG(AON_PMUKEY) = 0x51F15E; |