Fix Kinetics UART watermark setting
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3894 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e903a6c676
commit
b3a29312d1
@ -158,27 +158,27 @@
|
|||||||
* Joystick up -- Connected to PG.15
|
* Joystick up -- Connected to PG.15
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define BUTTON_WAKEUP 0
|
#define BUTTON_WAKEUP 0
|
||||||
#define BUTTON_TAMPER 1
|
#define BUTTON_TAMPER 1
|
||||||
#define BUTTON_KEY 2
|
#define BUTTON_KEY 2
|
||||||
|
|
||||||
#define JOYSTICK_SEL 3
|
#define JOYSTICK_SEL 3
|
||||||
#define JOYSTICK_DOWN 4
|
#define JOYSTICK_DOWN 4
|
||||||
#define JOYSTICK_LEFT 5
|
#define JOYSTICK_LEFT 5
|
||||||
#define JOYSTICK_RIGHT 6
|
#define JOYSTICK_RIGHT 6
|
||||||
#define JOYSTICK_UP 7
|
#define JOYSTICK_UP 7
|
||||||
|
|
||||||
#define NUM_BUTTONS 8
|
#define NUM_BUTTONS 8
|
||||||
|
|
||||||
#define BUTTON_WAKEUP_BIT (1 << BUTTON_WAKEUP)
|
#define BUTTON_WAKEUP_BIT (1 << BUTTON_WAKEUP)
|
||||||
#define BUTTON_TAMPER_BIT (1 << BUTTON_TAMPER)
|
#define BUTTON_TAMPER_BIT (1 << BUTTON_TAMPER)
|
||||||
#define BUTTON_KEY_BIT (1 << BUTTON_KEY)
|
#define BUTTON_KEY_BIT (1 << BUTTON_KEY)
|
||||||
|
|
||||||
#define JOYSTICK_SEL_BIT (1 << JOYSTICK_SEL)
|
#define JOYSTICK_SEL_BIT (1 << JOYSTICK_SEL)
|
||||||
#define JOYSTICK_DOWN_BIT (1 << JOYSTICK_DOWN)
|
#define JOYSTICK_DOWN_BIT (1 << JOYSTICK_DOWN)
|
||||||
#define JOYSTICK_LEFT_BIT (1 << JOYSTICK_LEFT)
|
#define JOYSTICK_LEFT_BIT (1 << JOYSTICK_LEFT)
|
||||||
#define JOYSTICK_RIGH_BIT (1 << JOYSTICK_RIGHT)
|
#define JOYSTICK_RIGHT_BIT (1 << JOYSTICK_RIGHT)
|
||||||
#define JOYSTICK_UP_BIT (1 << JOYSTICK_UP)
|
#define JOYSTICK_UP_BIT (1 << JOYSTICK_UP)
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
|
Loading…
Reference in New Issue
Block a user