gl-puli-mcu: Fix compilation warning
Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
This commit is contained in:
parent
f52f437070
commit
2ae44d696f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ consume(struct ustream *s, char **a)
|
|||
|
||||
battery.set = process(*a);
|
||||
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);
|
||||
*a = eol;
|
||||
|
|
Loading…
Reference in a new issue