Ciaran O'Malley
/
LAB_2_3_interrupt
Cleaner code
Revision 2:d07750adfe89, committed 2020-07-31
- Comitter:
- ciaranom
- Date:
- Fri Jul 31 15:32:53 2020 +0000
- Parent:
- 1:7149c0779e5b
- Commit message:
- Lab 2.3
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7149c0779e5b -r d07750adfe89 main.cpp --- a/main.cpp Tue Jul 28 09:45:20 2020 +0000 +++ b/main.cpp Fri Jul 31 15:32:53 2020 +0000 @@ -16,7 +16,7 @@ x=1; // sets variable x to 1 } -void reset() +void reset() //reset variable to 0 { x=0; }