1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-25 22:43:50 +01:00

* fixed some warnings in redbee_uart.c

* fixed a missing variabl declaration in redbee_uart1.c
This commit is contained in:
Thomas Eichinger 2013-07-23 10:39:57 +02:00
parent 8494d2827c
commit ea6b167938
3 changed files with 4 additions and 0 deletions

View File

@ -97,6 +97,8 @@ void uart_set_baudrate(volatile struct UART_struct * uart, uint32_t baud);
void uart_flow_ctl(volatile struct UART_struct * uart, uint8_t on);
#define UART0_BUFSIZE (32)
/* The mc1322x has a 32 byte hardware FIFO for transmitted characters.
* Currently it is always filled from a larger RAM buffer. It would be
* possible to eliminate that overhead by filling directly from a chain

View File

@ -201,4 +201,5 @@ int fw_puts(char *astring,int length)
int bl_uart_init(void) {
uart_init( UART1, BAUTRATE_UART1 );
uart_init( UART2, BAUTRATE_UART2 );
return 0;
}

View File

@ -14,6 +14,7 @@
#include "uart.h"
void uart1_isr ( void ) {
uint8_t i = 0;
if ( UART1->USTATbits.RXRDY == 1 ) {
#ifdef MODULE_UART0
if ( uart0_handler_pid ) {