[riot-notifications] [RIOT-OS/RIOT] sys: stdio_null: add null driver (#10741)

Bas Stottelaar notifications at github.com
Thu Jan 10 10:19:54 CET 2019


basilfx commented on this pull request.



> +
+#define ENABLE_DEBUG 0
+#include "debug.h"
+
+void stdio_init(void)
+{
+#if MODULE_VFS
+    vfs_bind_stdio();
+#endif
+}
+
+ssize_t stdio_read(void* buffer, size_t count)
+{
+    (void) buffer;
+
+    return count;

I think you are right. I wasn't sure either.

-- 
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/10741#discussion_r246684011
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190110/4d20b789/attachment.html>


More information about the notifications mailing list