Natalia Govor
/
lab6_watchdog
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 |
diff -r 9def90a894b9 -r b4696452eb18 main.cpp --- 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 } }