From 7a1bf015417250205c342d5d6e9f7cfa73265439 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 8 Oct 2020 18:27:03 -0400 Subject: Undo the hacks that allowed targets without LEFT/RIGHT (UP/DN) to build. Replaced them with warnings until they are fixed *PROPERLY* Change-Id: I4425200e60f8b5224262a54f105b974cec471d22 --- firmware/target/arm/rk27xx/ihifi2/button-target.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/target/arm/rk27xx/ihifi2/button-target.h') diff --git a/firmware/target/arm/rk27xx/ihifi2/button-target.h b/firmware/target/arm/rk27xx/ihifi2/button-target.h index 211e20e1d6..d317e30972 100644 --- a/firmware/target/arm/rk27xx/ihifi2/button-target.h +++ b/firmware/target/arm/rk27xx/ihifi2/button-target.h @@ -32,8 +32,8 @@ #define BUTTON_VOL_UP 0x00000020 #define BUTTON_VOL_DOWN 0x00000040 -#define BUTTON_LEFT 0 -#define BUTTON_RIGHT 0 +#define BUTTON_LEFT BUTTON_PREV +#define BUTTON_RIGHT BUTTON_NEXT #define BUTTON_MAIN (BUTTON_POWER | BUTTON_HOME | BUTTON_PREV | BUTTON_NEXT | \ BUTTON_PLAY | BUTTON_VOL_UP | BUTTON_VOL_DOWN) -- cgit v1.2.3