[riot-notifications] [RIOT-OS/RIOT] sys: make uart_stdio RX optional (attempt #2) (#11310)

Kaspar Schleiser notifications at github.com
Thu May 9 11:25:05 CEST 2019


kaspar030 commented on this pull request.



>  
 void stdio_init(void)
 {
+    uart_rx_cb_t cb;
+    void *arg;
+
+#ifdef MODULE_STDIO_UART_RX
+    cb = (uart_rx_cb_t) isrpipe_write_one;
+    arg = &stdio_uart_isrpipe;
+#else
+#ifdef USE_ETHOS_FOR_STDIO

hm, ethos itself doesn't need *stdio*_uart_rx.
stdio-over-ethos should probably be a pseudomodule...

I guess as is this is fine for now.


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11310#discussion_r282406192
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190509/83cf799d/attachment-0001.html>


More information about the notifications mailing list