1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

turo: fix json toru_float() precision value

This commit is contained in:
Kaspar Schleiser 2021-10-21 13:02:48 +02:00
parent 1c8a8bf6c4
commit 99dbed9ce7

View File

@ -59,7 +59,7 @@ void turo_u64(turo_t *ctx, uint64_t val)
void turo_float(turo_t *ctx, float val)
{
_print_comma(ctx, TURO_STATE_NEED_COMMA);
print_float(val, 8);
print_float(val, 7);
}
void turo_string(turo_t *ctx, const char *str)