Closed kontza closed 11 years ago
Sorry but I've implemented these methods in version 2.2.0, that I've put online a couple of days ago. Maybe you've forked the repo just before I made the changes.
Indeed that's the case. I forked the repo few days ago, before you added halt/restart.
Keep up the good work!
On Tue, Apr 2, 2013 at 5:55 PM, leomil72 notifications@github.com wrote:
Sorry but I've implemented these methods in version 2.2.0, that I've put online a couple of days ago. Maybe you've forked the repo just before I made the changes.
— Reply to this email directly or view it on GitHubhttps://github.com/leomil72/leOS2/pull/1#issuecomment-15780012 .
jussi
BTW I've seen that the README file is still reporting 2.1.1 as the latest release ;-) I've fixed it.
Ok, good to know :)
On Wed, Apr 3, 2013 at 5:03 PM, leomil72 notifications@github.com wrote:
BTW I've seen that the README file is still reporting 2.1.1 as the latest release ;-) I've fixed it.
— Reply to this email directly or view it on GitHubhttps://github.com/leomil72/leOS2/pull/1#issuecomment-15838323 .
jussi
Hi,
Please ignore the formatting diffs, they originate from code editor's autoformatter.
The real change I made was to add two functions. pauseScheduler(): puts the scheduler on hold by disabling WDT interrupts restartScheduler(): re-enables WDT interrupts so that scheduling can continue as normal
Why? I thought that it would be nice to prevent WDT ISR from waking up the system from sleep. And after waking up from a sleep period, what would be nicer than to re-enable WDT interrupts to have scheduling running again.
Great work with leOS2, by the way!