[riot-notifications] [RIOT-OS/RIOT] tests/rng: replace printf_float with fmt/print_float (#10999)

Gaƫtan Harter notifications at github.com
Wed Feb 13 14:46:06 CET 2019


Compilation fails for me because of `chronos` that does not know `fflush(stdout)` I will look into it tomorrow.

> > Compilation fails for me because of `chronos` that does not know `fflush(stdout)` I will look into it tomorrow.
> 
> why not just use `print_str()` instead of `printf()` around it?

The test script is using `printf` in other places and would need to be flushed anyway before using `print_str`.

I just did the same as what is done for the other use of `fflush(stdout)`.


I tested on `wsn430` and it looks like it cannot switch the entropy source. When calling `source 1` it gets stuck. But the issue was also there with master.
Also on `wsn430-v1_3b` printf was not printing float.

So `printf_float` handling does not currently work for these BSPs.


-- 
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/10999#issuecomment-463204541
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190213/4aab3cb9/attachment.html>


More information about the notifications mailing list