]> git.zerfleddert.de Git - hmcfgusb/commitdiff
hmland: add load-byte to 'H'-output
authorMichael Gernoth <michael@gernoth.net>
Wed, 17 Jun 2015 15:37:40 +0000 (17:37 +0200)
committerMichael Gernoth <michael@gernoth.net>
Wed, 17 Jun 2015 15:37:40 +0000 (17:37 +0200)
hmland.c

index fb6f6309ffd28a1193a085bce7fcf67cfec27415..c8aa00b56bfc30ca3c44285b339155bedf6ac77b 100644 (file)
--- a/hmland.c
+++ b/hmland.c
@@ -289,7 +289,8 @@ static int hmlan_format_out(uint8_t *buf, int buf_len, void *data)
                        format_part_out(&inpos, (buf_len-(inpos-buf)), &outpos, (sizeof(out)-(outpos-out)), 3, FLAG_FORMAT_HEX | FLAG_COMMA_BEFORE);
                        format_part_out(&inpos, (buf_len-(inpos-buf)), &outpos, (sizeof(out)-(outpos-out)), 3, FLAG_FORMAT_HEX | FLAG_COMMA_BEFORE);
                        format_part_out(&inpos, (buf_len-(inpos-buf)), &outpos, (sizeof(out)-(outpos-out)), 4, FLAG_FORMAT_HEX | FLAG_COMMA_BEFORE);
-                       format_part_out(&inpos, (buf_len-(inpos-buf)), &outpos, (sizeof(out)-(outpos-out)), 2, FLAG_FORMAT_HEX | FLAG_COMMA_BEFORE | FLAG_NL);
+                       format_part_out(&inpos, (buf_len-(inpos-buf)), &outpos, (sizeof(out)-(outpos-out)), 2, FLAG_FORMAT_HEX | FLAG_COMMA_BEFORE);
+                       format_part_out(&inpos, (buf_len-(inpos-buf)), &outpos, (sizeof(out)-(outpos-out)), 1, FLAG_FORMAT_HEX | FLAG_COMMA_BEFORE | FLAG_NL);
 
                        if (!reboot_set) {
                                int new_reboot_seconds;
Impressum, Datenschutz