mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
break long line
This commit is contained in:
parent
0f066befeb
commit
05987cb6db
@ -25,7 +25,14 @@ static void uart0_loop(void)
|
|||||||
void board_uart0_init(void)
|
void board_uart0_init(void)
|
||||||
{
|
{
|
||||||
ringbuffer_init(&uart0_ringbuffer, buffer, UART0_BUFSIZE);
|
ringbuffer_init(&uart0_ringbuffer, buffer, UART0_BUFSIZE);
|
||||||
int pid = thread_create(uart0_thread_stack, sizeof(uart0_thread_stack), PRIORITY_MAIN - 1, CREATE_STACKTEST|CREATE_WOUT_YIELD, uart0_loop, "uart0");
|
int pid = thread_create(
|
||||||
|
uart0_thread_stack,
|
||||||
|
sizeof(uart0_thread_stack),
|
||||||
|
PRIORITY_MAIN - 1,
|
||||||
|
CREATE_STACKTEST|CREATE_WOUT_YIELD,
|
||||||
|
uart0_loop,
|
||||||
|
"uart0"
|
||||||
|
);
|
||||||
uart0_handler_pid = pid;
|
uart0_handler_pid = pid;
|
||||||
puts("uart0_init() [OK]");
|
puts("uart0_init() [OK]");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user