mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-01-03 11:30:53 +00:00
TSCH: implement off()
This commit is contained in:
parent
b1dc8205f0
commit
ee60355c9c
@ -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;
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user