TSCH: implement off()

This commit is contained in:
Simon Duquennoy 2016-06-23 18:38:12 +02:00
parent b1dc8205f0
commit ee60355c9c

View file

@ -1017,6 +1017,11 @@ turn_on(void)
static int
turn_off(int keep_radio_on)
{
if(keep_radio_on) {
NETSTACK_RADIO.on();
} else {
NETSTACK_RADIO.off();
}
return 1;
}
/*---------------------------------------------------------------------------*/