diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-02 14:58:51 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-01-02 14:58:51 +0000 |
commit | 31881e1dd3bee0ff04f3a46742d8f260210f8c29 (patch) | |
tree | de7b0c27adcdb5755702f63bc39d36264916cfff /os/hal/platforms/STM8L | |
parent | 90b70c4d4618296d0aed5d75e9170b6865192db0 (diff) | |
download | ChibiOS-31881e1dd3bee0ff04f3a46742d8f260210f8c29.tar.gz ChibiOS-31881e1dd3bee0ff04f3a46742d8f260210f8c29.tar.bz2 ChibiOS-31881e1dd3bee0ff04f3a46742d8f260210f8c29.zip |
Updated the various serial drivers with the new queue callbacks.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2573 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/STM8L')
-rw-r--r-- | os/hal/platforms/STM8L/serial_lld.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/os/hal/platforms/STM8L/serial_lld.c b/os/hal/platforms/STM8L/serial_lld.c index 70b130549..d5c102cfe 100644 --- a/os/hal/platforms/STM8L/serial_lld.c +++ b/os/hal/platforms/STM8L/serial_lld.c @@ -72,22 +72,25 @@ static ROMCONST SerialConfig default_config = { /*===========================================================================*/
#if STM8L_SERIAL_USE_USART1 || defined(__DOXYGEN__)
-static void notify1(void) {
+static void notify1(GenericQueue *qp) {
+ (void)qp;
USART1->CR2 |= USART_CR2_TIEN;
}
#endif /* STM8L_SERIAL_USE_USART1 */
#if STM8L_SERIAL_USE_USART2 || defined(__DOXYGEN__)
-static void notify2(void) {
+static void notify2(GenericQueue *qp) {
+ (void)qp;
USART2->CR2 |= USART_CR2_TIEN;
}
#endif /* STM8L_SERIAL_USE_USART1 */
#if STM8L_SERIAL_USE_USART3 || defined(__DOXYGEN__)
-static void notify3(void) {
+static void notify3(GenericQueue *qp) {
+ (void)qp;
USART3->CR2 |= USART_CR2_TIEN;
}
#endif /* STM8L_SERIAL_USE_USART3 */
|