1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #12 from LudwigOrtmann/master

moved native internal functions declarations
This commit is contained in:
LudwigOrtmann 2013-07-15 12:14:05 -07:00
commit c401abe333
4 changed files with 9 additions and 7 deletions

View File

@ -15,6 +15,8 @@
#include <stdio.h> #include <stdio.h>
#include "board.h" #include "board.h"
#include "board_internal.h"
/** /**
* Nothing to initialize at the moment. * Nothing to initialize at the moment.
* Turns the red LED on and the green LED off. * Turns the red LED on and the green LED off.

View File

@ -17,7 +17,7 @@ int _native_uart_out;
fd_set _native_uart_rfds; fd_set _native_uart_rfds;
static inline int uart0_puts(char *astring, int length) inline int uart0_puts(char *astring, int length)
{ {
return puts(astring); return puts(astring);
} }

View File

@ -21,9 +21,3 @@ void LED_GREEN_TOGGLE(void);
void LED_RED_OFF(void); void LED_RED_OFF(void);
void LED_RED_ON(void); void LED_RED_ON(void);
void LED_RED_TOGGLE(void); void LED_RED_TOGGLE(void);
#ifdef MODULE_UART0
#include <sys/select.h>
extern fd_set _native_uart_rfds;
extern void _native_handle_uart0_input(void);
#endif

View File

@ -0,0 +1,6 @@
#ifdef MODULE_UART0
#include <sys/select.h>
extern fd_set _native_uart_rfds;
void _native_handle_uart0_input(void);
void _native_init_uart0(void);
#endif