mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
use new function.
This commit is contained in:
parent
9017949535
commit
defbe1d9ac
@ -28,7 +28,7 @@
|
||||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* @(#)$Id: rs232.c,v 1.1 2007/06/28 12:52:42 nvt-se Exp $
|
||||
* @(#)$Id: rs232.c,v 1.2 2007/08/16 20:29:56 nvt-se Exp $
|
||||
*/
|
||||
|
||||
/** \addtogroup esbrs232
|
||||
@ -73,7 +73,7 @@ rs232_send(char c)
|
||||
before using it.
|
||||
*/
|
||||
|
||||
if (uart_mode == UART_MODE_RS232) {
|
||||
if (uart_get_mode() == UART_MODE_RS232) {
|
||||
/* Loop until the transmission buffer is available. */
|
||||
UART_WAIT_TX();
|
||||
/* Transmit the data. */
|
||||
|
Loading…
Reference in New Issue
Block a user