add missing newlines
This commit is contained in:
parent
38af814c53
commit
855eea6a53
@ -241,7 +241,7 @@ void _native_handle_uart0_input()
|
|||||||
|
|
||||||
int _native_set_uart_fds(void)
|
int _native_set_uart_fds(void)
|
||||||
{
|
{
|
||||||
DEBUG("_native_set_uart_fds");
|
DEBUG("_native_set_uart_fds\n");
|
||||||
FD_SET(STDIN_FILENO, &_native_rfds);
|
FD_SET(STDIN_FILENO, &_native_rfds);
|
||||||
if (_native_uart_sock == -1) {
|
if (_native_uart_sock == -1) {
|
||||||
return (STDIN_FILENO);
|
return (STDIN_FILENO);
|
||||||
|
|||||||
@ -195,7 +195,7 @@ void hwtimer_isr_timer()
|
|||||||
int_handler(next_timer);
|
int_handler(next_timer);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DEBUG("hwtimer_isr_timer(): this should not have happened");
|
DEBUG("hwtimer_isr_timer(): this should not have happened\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
schedule_timer();
|
schedule_timer();
|
||||||
|
|||||||
@ -273,7 +273,7 @@ void native_irq_handler()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUG("native_irq_handler(): return");
|
DEBUG("native_irq_handler(): return\n");
|
||||||
cpu_switch_context_exit();
|
cpu_switch_context_exit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -196,6 +196,6 @@ void native_cpu_init()
|
|||||||
VALGRIND_STACK_REGISTER(__end_stack, __end_stack + sizeof(__end_stack));
|
VALGRIND_STACK_REGISTER(__end_stack, __end_stack + sizeof(__end_stack));
|
||||||
VALGRIND_DEBUG("VALGRIND_STACK_REGISTER(%p, %p)\n", __end_stack, (void*)((int)__end_stack + sizeof(__end_stack)));
|
VALGRIND_DEBUG("VALGRIND_STACK_REGISTER(%p, %p)\n", __end_stack, (void*)((int)__end_stack + sizeof(__end_stack)));
|
||||||
|
|
||||||
DEBUG("RIOT native cpu initialized.");
|
DEBUG("RIOT native cpu initialized.\n");
|
||||||
}
|
}
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|||||||
@ -128,7 +128,7 @@ void nativenet_switch_to_rx()
|
|||||||
int _nativenet_register_cb(int event, void (*func)(void))
|
int _nativenet_register_cb(int event, void (*func)(void))
|
||||||
{
|
{
|
||||||
if (event > NNEV_MAXEV) {
|
if (event > NNEV_MAXEV) {
|
||||||
DEBUG("_nativenet_register_cb: event > NNEV_MAXEV");
|
DEBUG("_nativenet_register_cb: event > NNEV_MAXEV\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -139,7 +139,7 @@ int _nativenet_register_cb(int event, void (*func)(void))
|
|||||||
int _nativenet_unregister_cb(int event)
|
int _nativenet_unregister_cb(int event)
|
||||||
{
|
{
|
||||||
if (event > NNEV_MAXEV) {
|
if (event > NNEV_MAXEV) {
|
||||||
DEBUG("_nativenet_unregister_cb: event > NNEV_MAXEV");
|
DEBUG("_nativenet_unregister_cb: event > NNEV_MAXEV\n");
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -150,7 +150,7 @@ int _nativenet_unregister_cb(int event)
|
|||||||
void do_cb(int event)
|
void do_cb(int event)
|
||||||
{
|
{
|
||||||
if (event > NNEV_MAXEV) {
|
if (event > NNEV_MAXEV) {
|
||||||
DEBUG("do_cb: event > NNEV_MAXEV");
|
DEBUG("do_cb: event > NNEV_MAXEV\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -77,7 +77,7 @@ void _native_handle_tap_input(void)
|
|||||||
if (ntohs(frame.field.header.ether_type) == NATIVE_ETH_PROTO) {
|
if (ntohs(frame.field.header.ether_type) == NATIVE_ETH_PROTO) {
|
||||||
nread = nread - ETHER_HDR_LEN;
|
nread = nread - ETHER_HDR_LEN;
|
||||||
if ((nread - 1) <= 0) {
|
if ((nread - 1) <= 0) {
|
||||||
DEBUG("_native_handle_tap_input: no payload");
|
DEBUG("_native_handle_tap_input: no payload\n");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
unsigned long t = hwtimer_now();
|
unsigned long t = hwtimer_now();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user