summaryrefslogtreecommitdiff
path: root/src/arch/esp8266/driver/stdin.cc
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2021-05-28 15:17:20 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2021-05-28 15:17:20 +0200
commit460ecf074d133cbe026cbddb7cf5fad1180c9831 (patch)
tree2beb0cfa84698dbb723c7c62acec703fad3437da /src/arch/esp8266/driver/stdin.cc
parentcf3ba89c46301bb8c0a1eda470c353801117fc0b (diff)
Set loop/wakeup/ostream either via .config or via app/commandline
Diffstat (limited to 'src/arch/esp8266/driver/stdin.cc')
-rw-r--r--src/arch/esp8266/driver/stdin.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/esp8266/driver/stdin.cc b/src/arch/esp8266/driver/stdin.cc
index bbb3be0..7032d81 100644
--- a/src/arch/esp8266/driver/stdin.cc
+++ b/src/arch/esp8266/driver/stdin.cc
@@ -38,7 +38,7 @@ void ets_isr_unmask(uint16_t idx);
#define UCTOE 31
-#ifdef WITH_WAKEUP
+#ifdef CONFIG_wakeup
void wakeup();
#endif
@@ -50,7 +50,7 @@ void uart_isr()
}
}
USIC = USIS;
-#ifdef WITH_WAKEUP
+#ifdef CONFIG_wakeup
wakeup();
#endif
}