LMiC LoRa Semtech + Nucleo version sending every 10secs
Dependents: LoRaWAN-test-10secs
Fork of LMiC by
Diff: oslmic.cpp
- Revision:
- 9:c5820ce68bd6
- Parent:
- 7:758e1719910c
--- a/oslmic.cpp Mon Feb 08 10:39:01 2016 +0000 +++ b/oslmic.cpp Tue Feb 23 08:41:36 2016 +0000 @@ -86,8 +86,10 @@ job->next = NULL; // insert into schedule for(pnext=&OS.scheduledjobs; *pnext; pnext=&((*pnext)->next)) { + //debug_str("."); if((*pnext)->deadline - time > 0) { // (cmp diff, not abs!) // enqueue before next element and stop + //debug_str("Stop To Wait...\r\n"); job->next = *pnext; break; }