ao_companion: Make motor_number uint16_t
authorKeith Packard <keithp@keithp.com>
Fri, 28 Jan 2022 22:42:45 +0000 (14:42 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 17 Feb 2022 01:26:49 +0000 (17:26 -0800)
Make it match the types used elsewhere

Signed-off-by: Keith Packard <keithp@keithp.com>
src/kernel/ao_companion.h

index bd702fe3664065d0c6e0b1e40788c6a89634a49a..a8fd100cef062cb9698314bfbc99ecb46e9f4b0d 100644 (file)
@@ -34,7 +34,7 @@ struct ao_companion_command {
        int16_t         accel;
        int16_t         speed;
        int16_t         height;
        int16_t         accel;
        int16_t         speed;
        int16_t         height;
-       int16_t         motor_number;
+       uint16_t        motor_number;
 };
 
 struct ao_companion_setup {
 };
 
 struct ao_companion_setup {