# | Line 428 | Line 428 | int16 PrimeTime(uint32 tm, int32 time) | |
---|---|---|
428 | // or (b) "continue previous delay" if an expired task was stopped via RmvTime() and | |
429 | // then re-installed using InsXTime(). Since tmWakeUp was set, this is case (b). | |
430 | // The remaining time was saved in tmCount by RmvTime(). | |
431 | < | timer_mac2host_time(delay, ReadMacInt16(tm + tmCount)); |
431 | > | if (time == 0) { |
432 | > | timer_mac2host_time(delay, ReadMacInt16(tm + tmCount)); |
433 | > | } |
434 | ||
435 | // Yes, calculate wakeup time relative to last scheduled time | |
436 | tm_time_t wakeup; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |