From: Kevin Day Date: Sat, 13 Jul 2024 03:08:12 +0000 (-0500) Subject: Bugfix: Controller parameter type is f_number_unsigned_t and not uint8_t. X-Git-Tag: 0.6.11~21 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=dcff793fcdf69aa1364cc3642e16c73c45ed90c8;p=fll Bugfix: Controller parameter type is f_number_unsigned_t and not uint8_t. The array of codes is an array of f_number_unsigned_t and not uint8_t. I was probably thinking about the array only needs to be of type uint8_t long, which would be represented by the counter. I probably then accidentally set the value type to be uint8_t to match that. --- diff --git a/level_3/controller/c/rule/private-rule.c b/level_3/controller/c/rule/private-rule.c index 1729632..a72e92e 100644 --- a/level_3/controller/c/rule/private-rule.c +++ b/level_3/controller/c/rule/private-rule.c @@ -2129,7 +2129,7 @@ extern "C" { controller_short_socket_s, }; - const uint8_t codes[] = { + const f_number_unsigned_t codes[] = { controller_parameter_light_e, controller_parameter_dark_e, controller_parameter_no_color_e,