Fix some button definitions

This commit is contained in:
Gregory Nutt 2016-07-02 14:42:29 -06:00
parent 874c614117
commit d31f0bd076
3 changed files with 5 additions and 5 deletions

View File

@ -187,8 +187,8 @@
#define BUTTON_SW2 0
#define BUTTON_SW3 1
#define BUTTON_SW2_BIT (1 << BUTTON_WAKEUP)
#define BUTTON_SW3_BIT (1 << BUTTON_TAMPER)
#define BUTTON_SW2_BIT (1 << BUTTON_SW2)
#define BUTTON_SW3_BIT (1 << BUTTON_SW3)
/* Alternative pin resolution *******************************************************/
/* If there are alternative configurations for various pins in the

View File

@ -271,7 +271,7 @@
#define BUTTON_CENTER_BIT (1 << BUTTON_CENTER)
#define BUTTON_LEFT_BIT (1 << BUTTON_LEFT)
#define BUTTON_DOWN_BIT (1 << BUTTON_DOWN)
#define BUTTON_TIGHT_BIT (1 << BUTTON_RIGHT)
#define BUTTON_RIGHT_BIT (1 << BUTTON_RIGHT)
#define BUTTON_UP_BIT (1 << BUTTON_UP)
/************************************************************************************

View File

@ -154,8 +154,8 @@
#define BUTTON_SW1 0
#define BUTTON_SW2 1
#define BUTTON_SW1_BIT (1 << BUTTON_WAKEUP)
#define BUTTON_SW2_BIT (1 << BUTTON_TAMPER)
#define BUTTON_SW1_BIT (1 << BUTTON_SW1)
#define BUTTON_SW2_BIT (1 << BUTTON_SW2)
/* Alternative pin resolution *******************************************************/
/* If there are alternative configurations for various pins in the