summaryrefslogtreecommitdiff
path: root/fw/fe310/eos/eos.c
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-02-28 18:38:37 +0100
committerUros Majstorovic <majstor@majstor.org>2021-02-28 18:38:37 +0100
commit6a4c8a1f11f6a7bd57b0fd618f455bcdecbfe538 (patch)
tree6d16dbc38b3bac0e91d39f3e86bb6810761ddb84 /fw/fe310/eos/eos.c
parent468e81e6da66f6dfec3a4857dc6e2f370ab180f1 (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/eos.c')
-rw-r--r--fw/fe310/eos/eos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fw/fe310/eos/eos.c b/fw/fe310/eos/eos.c
index b02abed..6214203 100644
--- a/fw/fe310/eos/eos.c
+++ b/fw/fe310/eos/eos.c
@@ -37,7 +37,7 @@ void eos_init(void) {
eos_net_wake(wakeup_cause);
eve_set_touch_calibration(eve_touch);
- eos_spi_dev_start(EOS_DEV_DISP);
+ eos_spi_dev_select(EOS_DEV_DISP);
eve_init(wakeup_cause == EOS_PWR_WAKE_RST);
- eos_spi_dev_stop();
+ eos_spi_dev_deselect();
}