]> Kevux Git Server - fll/commitdiff
Bugfix: Controller parameter type is f_number_unsigned_t and not uint8_t.
authorKevin Day <Kevin@kevux.org>
Sat, 13 Jul 2024 03:08:12 +0000 (22:08 -0500)
committerKevin Day <Kevin@kevux.org>
Sat, 13 Jul 2024 03:08:12 +0000 (22:08 -0500)
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

index 1729632dfc841234567d8aaa61a08a0301dfc5c1..a72e92eb72e8bb4b092901b744e63889a88c636d 100644 (file)
@@ -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,