Fix some button definitions
This commit is contained in:
parent
874c614117
commit
d31f0bd076
@ -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
|
||||
|
@ -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)
|
||||
|
||||
/************************************************************************************
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user