Adding TSCH to examples/jn516x/rpl

This commit is contained in:
Simon Duquennoy 2016-02-01 10:57:49 +01:00
parent 7c3108bf3b
commit 15a5f27080
2 changed files with 71 additions and 2 deletions

View file

@ -71,7 +71,7 @@ PROCESS_THREAD(node_process, ev, data)
#if CONFIG_VIA_BUTTON
{
#define CONFIG_WAIT_TIME 10
#define CONFIG_WAIT_TIME 5
SENSORS_ACTIVATE(button_sensor);
etimer_set(&et, CLOCK_SECOND * CONFIG_WAIT_TIME);