[riot-notifications] [RIOT-OS/RIOT] Add stdin pseudo module and set it as dependency for applications using getchar (#11598)

Kaspar Schleiser notifications at github.com
Tue Jun 11 09:42:53 CEST 2019


> I would rather use `assert(MODULE_STDIO_UART_RX)` because it's specific to UART and `MODULE_STDIN` is more general (and depends on `stdio_uart_rx`).

Hm, true. But then people might see the message "failed assertion (MODULE_STDIO_UART_RX)" and add that dependency, instead of the more general one. Both are actually OK for me.

But do you think this is a good idea? As in, failing fast is better than behaving in an unexpected way?

-- 
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/11598#issuecomment-500726119
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190611/4df17340/attachment.html>


More information about the notifications mailing list