mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
auto_init_slip: fix comparison between signed and unsigned
This commit is contained in:
parent
8b7512f0bf
commit
266ed4a2c8
@ -47,7 +47,7 @@ static char _slip_stacks[SLIP_STACKSIZE][SLIP_NUM];
|
|||||||
|
|
||||||
void auto_init_slip(void)
|
void auto_init_slip(void)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < SLIP_NUM; i++) {
|
for (unsigned int i = 0; i < SLIP_NUM; i++) {
|
||||||
const gnrc_slip_params_t *p = &gnrc_slip_params[i];
|
const gnrc_slip_params_t *p = &gnrc_slip_params[i];
|
||||||
DEBUG("Initializing SLIP radio at UART_%d\n", p->uart);
|
DEBUG("Initializing SLIP radio at UART_%d\n", p->uart);
|
||||||
kernel_pid_t res = gnrc_slip_init(&slip_devs[i], p->uart, p->baudrate,
|
kernel_pid_t res = gnrc_slip_init(&slip_devs[i], p->uart, p->baudrate,
|
||||||
|
Loading…
Reference in New Issue
Block a user