diff --git a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py index a63d61841f..14ebba879c 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py +++ b/libraries/AP_HAL_ChibiOS/hwdef/scripts/chibios_hwdef.py @@ -2779,8 +2779,8 @@ def add_apperiph_defaults(f): #define HAL_LOGGING_MAVLINK_ENABLED 0 #endif -#ifndef HAL_MISSION_ENABLED -#define HAL_MISSION_ENABLED 0 +#ifndef AP_MISSION_ENABLED +#define AP_MISSION_ENABLED 0 #endif #ifndef HAL_RALLY_ENABLED