With our patches to other libraries, we're able to do low-power sleep; but the arduino-lmic code needs to know how much time has passed, and depends on millis() to be correct. Add a new routine, adjust_millis_forward(), which the low-power sleep code can use to update millis() based on the real-time clock value after wakeup.
With our patches to other libraries, we're able to do low-power sleep; but the arduino-lmic code needs to know how much time has passed, and depends on
millis()
to be correct. Add a new routine,adjust_millis_forward()
, which the low-power sleep code can use to updatemillis()
based on the real-time clock value after wakeup.