From 04c59b8a15f96812081ea8730337825af679fbce Mon Sep 17 00:00:00 2001 From: Andrew Ryabinin Date: Mon, 16 Dec 2013 00:17:46 +0400 Subject: [PATCH] rk27xx: Fix ifdef for DEBUG_CANCEL button. Change-Id: Iebbe518dcaf5c9e1573309b3fee17b52998d941c --- firmware/target/arm/rk27xx/debug-rk27xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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