gl-puli-mcu: Fix compilation warning
Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
This commit is contained in:
parent
f52f437070
commit
2ae44d696f
|
@ -79,7 +79,7 @@ consume(struct ustream *s, char **a)
|
||||||
|
|
||||||
battery.set = process(*a);
|
battery.set = process(*a);
|
||||||
if (!battery.set)
|
if (!battery.set)
|
||||||
ULOG_ERR("failed to parse message from serial: %s", a);
|
ULOG_ERR("failed to parse message from serial: %s", *a);
|
||||||
|
|
||||||
ustream_consume(s, eol - *a);
|
ustream_consume(s, eol - *a);
|
||||||
*a = eol;
|
*a = eol;
|
||||||
|
|
Loading…
Reference in New Issue