Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of Watchdog_sample_nocoverage by
Revision 8:b4696452eb18, committed 2018-03-09
- Comitter:
- natgovor
- Date:
- Fri Mar 09 16:02:56 2018 +0000
- Parent:
- 7:9def90a894b9
- Commit message:
- Revert previous commit
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Mar 09 16:00:19 2018 +0000 +++ b/main.cpp Fri Mar 09 16:02:56 2018 +0000 @@ -41,8 +41,8 @@ if (evt.status == osEventSignal) { if (evt.value.signals & 0x01) led1 = ON ; if (evt.value.signals & 0x02) led1 = OFF ; - } - wdt_kickA(); + wdt_kickA(); + } //waitButton() ; // POSSIBLE FAULT HERE } } @@ -57,8 +57,8 @@ if (evt.status == osEventSignal) { if (evt.value.signals & 0x01) led2 = ON ; if (evt.value.signals & 0x02) led2 = OFF ; + wdt_kickB(); } - wdt_kickB(); waitButton() ; // POSSIBLE FAULT HERE } }