diff options
Diffstat (limited to 'board/poppy/board.h')
-rw-r--r-- | board/poppy/board.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/board/poppy/board.h b/board/poppy/board.h index 599695d6b4..7388e0ec53 100644 --- a/board/poppy/board.h +++ b/board/poppy/board.h @@ -18,6 +18,7 @@ #define CONFIG_ADC #define CONFIG_BOARD_VERSION #define CONFIG_BUTTON_COUNT 2 +#define CONFIG_BUTTON_RECOVERY #define CONFIG_CASE_CLOSED_DEBUG_EXTERNAL #define CONFIG_DPTF #define CONFIG_FLASH_SIZE 0x80000 @@ -215,6 +216,12 @@ enum adc_channel { ADC_CH_COUNT }; +enum button { + BUTTON_VOLUME_DOWN = 0, + BUTTON_VOLUME_UP = 1, + BUTTON_COUNT +}; + /* start as a sink in case we have no other power supply/battery */ #define PD_DEFAULT_STATE PD_STATE_SNK_DISCONNECTED |