fixup seven segment debug code
authorKeith Packard <keithp@keithp.com>
Mon, 11 Dec 2023 21:44:54 +0000 (13:44 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 11 Dec 2023 21:44:54 +0000 (13:44 -0800)
Signed-off-by: Keith Packard <keithp@keithp.com>
src/drivers/ao_seven_segment.c

index 1be305e57e16ac5955bedca84ad634edeb731f4d..d468a5486ef1b54da142da5966a6daf5d15aaeca 100644 (file)
@@ -209,8 +209,8 @@ static void
 ao_seven_segment_show(void)
 {
        uint8_t digit, value;
-       digit = ao_cmd_decimal();
-       value = ao_cmd_decimal();
+       digit = (uint8_t) ao_cmd_decimal();
+       value = (uint8_t) ao_cmd_decimal();
        ao_seven_segment_set(digit, value);
 }