mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
commit
6aaf1c356c
@ -179,7 +179,7 @@ PROCESS_THREAD(udp_server_process, ev, data)
|
|||||||
if(ev == tcpip_event) {
|
if(ev == tcpip_event) {
|
||||||
tcpip_handler();
|
tcpip_handler();
|
||||||
} else if (ev == sensors_event && data == &button_sensor) {
|
} else if (ev == sensors_event && data == &button_sensor) {
|
||||||
PRINTF("Initiaing global repair\n");
|
PRINTF("Initiating global repair\n");
|
||||||
rpl_repair_root(RPL_DEFAULT_INSTANCE);
|
rpl_repair_root(RPL_DEFAULT_INSTANCE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user