mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-02 23:29:01 +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.
|
* 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
|
/** \addtogroup esbrs232
|
||||||
@ -73,7 +73,7 @@ rs232_send(char c)
|
|||||||
before using it.
|
before using it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (uart_mode == UART_MODE_RS232) {
|
if (uart_get_mode() == UART_MODE_RS232) {
|
||||||
/* Loop until the transmission buffer is available. */
|
/* Loop until the transmission buffer is available. */
|
||||||
UART_WAIT_TX();
|
UART_WAIT_TX();
|
||||||
/* Transmit the data. */
|
/* Transmit the data. */
|
||||||
|
Loading…
Reference in New Issue
Block a user