diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-31 09:44:41 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-07-31 09:44:41 +0000 |
commit | 76a6057c1dde2252ccaee91ba09fea24e84d18aa (patch) | |
tree | bdad83f3e7a1fbfe2334ced9324bf6592ab02d58 /testhal/STM32/UART/main.c | |
parent | 28acd9ec851f318a3198b60eb5bf76f46e05adbf (diff) | |
download | ChibiOS-76a6057c1dde2252ccaee91ba09fea24e84d18aa.tar.gz ChibiOS-76a6057c1dde2252ccaee91ba09fea24e84d18aa.tar.bz2 ChibiOS-76a6057c1dde2252ccaee91ba09fea24e84d18aa.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2103 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/UART/main.c')
-rw-r--r-- | testhal/STM32/UART/main.c | 20 |
1 files changed, 17 insertions, 3 deletions
diff --git a/testhal/STM32/UART/main.c b/testhal/STM32/UART/main.c index 1683c9774..5e6b9b413 100644 --- a/testhal/STM32/UART/main.c +++ b/testhal/STM32/UART/main.c @@ -28,12 +28,26 @@ static void txend2(void) { }
+static void rxerr(uartflags_t e) {
+
+ (void)e;
+}
+
+static void rxchar(uint16_t c) {
+
+ (void)c;
+}
+
+static void rxend(void) {
+
+}
+
static UARTConfig uart_cfg_1 = {
txend1,
txend2,
- NULL,
- NULL,
- NULL,
+ rxend,
+ rxchar,
+ rxerr,
38400,
0,
USART_CR2_LINEN,
|