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:
commit
c401abe333
@ -15,6 +15,8 @@
|
||||
#include <stdio.h>
|
||||
#include "board.h"
|
||||
|
||||
#include "board_internal.h"
|
||||
|
||||
/**
|
||||
* Nothing to initialize at the moment.
|
||||
* Turns the red LED on and the green LED off.
|
||||
|
@ -17,7 +17,7 @@ int _native_uart_out;
|
||||
|
||||
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);
|
||||
}
|
||||
|
@ -21,9 +21,3 @@ void LED_GREEN_TOGGLE(void);
|
||||
void LED_RED_OFF(void);
|
||||
void LED_RED_ON(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
|
||||
|
6
native/include/board_internal.h
Normal file
6
native/include/board_internal.h
Normal 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
|
Loading…
Reference in New Issue
Block a user