1
0
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:
Yonezawa-T2 2016-03-30 19:08:43 +09:00
parent 8b7512f0bf
commit 266ed4a2c8

View File

@ -47,7 +47,7 @@ static char _slip_stacks[SLIP_STACKSIZE][SLIP_NUM];
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];
DEBUG("Initializing SLIP radio at UART_%d\n", p->uart);
kernel_pid_t res = gnrc_slip_init(&slip_devs[i], p->uart, p->baudrate,