timer reference. on 1114-mbed
Revision 1:57ee27a9df19, committed 2015-01-28
- Comitter:
- kazu_zamasu
- Date:
- Wed Jan 28 14:07:07 2015 +0000
- Parent:
- 0:2a4387a90647
- Commit message:
- rev1
Changed in this revision
| main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Wed Jan 28 14:02:25 2015 +0000
+++ b/main.cpp Wed Jan 28 14:07:07 2015 +0000
@@ -12,8 +12,8 @@
DLEDG = !TSG;
if ( TSG == 1 && 0 != TSGtimer.read_ms()){
+TSGtimer.stop();
TSGtimer.reset();
-TSGtimer.stop();
}
else if ( TSG == 0){
TSGtimer.start();
Kazu Zamasu