gl-puli-mcu: Fix compilation warning
authorJean Thomas <jean.thomas@wifirst.fr>
Wed, 15 Nov 2023 14:59:26 +0000 (15:59 +0100)
committerNuno Goncalves <nunojpg@gmail.com>
Mon, 20 Nov 2023 14:51:52 +0000 (14:51 +0000)
Signed-off-by: Jean Thomas <jean.thomas@wifirst.fr>
utils/gl-puli-mcu/src/gl-puli-mcu.c

index fe55cc42d3003135fb6f75da4ad0949ef6b48c04..6cf4f2abde51e745b68fa59f7e61957cb5ec3642 100644 (file)
@@ -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;