From ed7cb82d3bcecf479fda1687c315d8a8f58d018c Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 12 Jun 2015 07:17:41 +0200 Subject: [PATCH] Compilation fix --- radio/src/targets/gruvin9x/board_gruvin9x.h | 20 ++++++++------------ radio/src/targets/stock/board_stock.h | 8 ++++---- 2 files changed, 12 insertions(+), 16 deletions(-) diff --git a/radio/src/targets/gruvin9x/board_gruvin9x.h b/radio/src/targets/gruvin9x/board_gruvin9x.h index 6c349172b..234767399 100644 --- a/radio/src/targets/gruvin9x/board_gruvin9x.h +++ b/radio/src/targets/gruvin9x/board_gruvin9x.h @@ -39,19 +39,21 @@ #include "../common_avr/board_avr.h" +// Keys #define KEYS_GPIO_REG_MENU pinl +#define KEYS_GPIO_PIN_MENU (1<<4) #define KEYS_GPIO_REG_EXIT pinl +#define KEYS_GPIO_PIN_EXIT (1<<5) #define KEYS_GPIO_REG_RIGHT pinl +#define KEYS_GPIO_PIN_RIGHT (1<<2) #define KEYS_GPIO_REG_LEFT pinl +#define KEYS_GPIO_PIN_LEFT (1<<3) #define KEYS_GPIO_REG_UP pinl +#define KEYS_GPIO_PIN_UP (1<<1) #define KEYS_GPIO_REG_DOWN pinl -#define KEYS_GPIO_PIN_MENU (1<