diff --git a/firmware/target/arm/rk27xx/debug-rk27xx.c b/firmware/target/arm/rk27xx/debug-rk27xx.c index 9f91f58f14..79c779461b 100644 --- a/firmware/target/arm/rk27xx/debug-rk27xx.c +++ b/firmware/target/arm/rk27xx/debug-rk27xx.c @@ -32,7 +32,7 @@ #ifdef RK27_GENERIC #define DEBUG_CANCEL BUTTON_VOL -#elif defined(HM60X) || defined(HM801) || defined(MA_PAD) +#elif defined(HM60X) || defined(HM801) || (CONFIG_KEYPAD == MA_PAD) #define DEBUG_CANCEL BUTTON_LEFT #endif