diff --git a/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat b/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat index fab355d612..4499626b51 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat +++ b/libraries/AP_HAL_ChibiOS/hwdef/CubeBlack/hwdef.dat @@ -4,7 +4,7 @@ include ../fmuv3/hwdef.dat -define HAL_CHIBIOS_ARCH_CUBEBLACK 1 +define HAL_CHIBIOS_ARCH_CUBE 1 env OPTIMIZE -O2