From dcff793fcdf69aa1364cc3642e16c73c45ed90c8 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Fri, 12 Jul 2024 22:08:12 -0500 Subject: [PATCH] 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. --- level_3/controller/c/rule/private-rule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 1.8.3.1