diff --git a/Tools/AP_Periph/can.cpp b/Tools/AP_Periph/can.cpp index bc60415f96..55b1655591 100644 --- a/Tools/AP_Periph/can.cpp +++ b/Tools/AP_Periph/can.cpp @@ -420,8 +420,13 @@ static void handle_lightscommand(CanardInstance* ins, CanardRxTransfer* transfer } for (uint8_t i=0; i>1)<<3; + const uint8_t blue = cmd.color.blue<<3; hal.rcout->set_neopixel_rgb_data(HAL_PERIPH_NEOPIXEL_CHAN, (1U<neopixel_send(); }