From b3a29312d1a779e455426b18c94abe4f633b8c96 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 19 Aug 2011 04:12:33 +0000 Subject: [PATCH] Fix Kinetics UART watermark setting git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3894 42af7a65-404d-4744-a932-0658087f49c3 --- configs/stm3210e-eval/include/board.h | 34 +++++++++++++-------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/configs/stm3210e-eval/include/board.h b/configs/stm3210e-eval/include/board.h index 6a8ca9540b..db7c11e8f5 100755 --- a/configs/stm3210e-eval/include/board.h +++ b/configs/stm3210e-eval/include/board.h @@ -158,27 +158,27 @@ * Joystick up -- Connected to PG.15 */ -#define BUTTON_WAKEUP 0 -#define BUTTON_TAMPER 1 -#define BUTTON_KEY 2 +#define BUTTON_WAKEUP 0 +#define BUTTON_TAMPER 1 +#define BUTTON_KEY 2 -#define JOYSTICK_SEL 3 -#define JOYSTICK_DOWN 4 -#define JOYSTICK_LEFT 5 -#define JOYSTICK_RIGHT 6 -#define JOYSTICK_UP 7 +#define JOYSTICK_SEL 3 +#define JOYSTICK_DOWN 4 +#define JOYSTICK_LEFT 5 +#define JOYSTICK_RIGHT 6 +#define JOYSTICK_UP 7 -#define NUM_BUTTONS 8 +#define NUM_BUTTONS 8 -#define BUTTON_WAKEUP_BIT (1 << BUTTON_WAKEUP) -#define BUTTON_TAMPER_BIT (1 << BUTTON_TAMPER) -#define BUTTON_KEY_BIT (1 << BUTTON_KEY) +#define BUTTON_WAKEUP_BIT (1 << BUTTON_WAKEUP) +#define BUTTON_TAMPER_BIT (1 << BUTTON_TAMPER) +#define BUTTON_KEY_BIT (1 << BUTTON_KEY) -#define JOYSTICK_SEL_BIT (1 << JOYSTICK_SEL) -#define JOYSTICK_DOWN_BIT (1 << JOYSTICK_DOWN) -#define JOYSTICK_LEFT_BIT (1 << JOYSTICK_LEFT) -#define JOYSTICK_RIGH_BIT (1 << JOYSTICK_RIGHT) -#define JOYSTICK_UP_BIT (1 << JOYSTICK_UP) +#define JOYSTICK_SEL_BIT (1 << JOYSTICK_SEL) +#define JOYSTICK_DOWN_BIT (1 << JOYSTICK_DOWN) +#define JOYSTICK_LEFT_BIT (1 << JOYSTICK_LEFT) +#define JOYSTICK_RIGHT_BIT (1 << JOYSTICK_RIGHT) +#define JOYSTICK_UP_BIT (1 << JOYSTICK_UP) /************************************************************************************ * Public Data