Library for a timer that can go for days (but only ms resolution)

Dependents:   ExtendedTimer_Example FindingTemp Final_NSR NearSpaceOzoneSensor ... more

Files at this revision

API Documentation at this revision

Comitter:
JLarkin
Date:
Thu May 09 20:03:12 2019 +0000
Parent:
0:7a6067de3bff
Commit message:
Fixed reset method so doesn't also perform stop.

Changed in this revision

ExtendedTimer.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 7a6067de3bff -r c5e08765149f ExtendedTimer.cpp
--- a/ExtendedTimer.cpp	Thu Mar 09 23:05:17 2017 +0000
+++ b/ExtendedTimer.cpp	Thu May 09 20:03:12 2019 +0000
@@ -29,9 +29,7 @@
 }
 
 void ExtendedTimer::reset() {
-    usTimer.stop();
     usTimer.reset();
-    usTimerWatch.detach();
     _time = 0;
 }