Mark Gottscho / HardwareTimersLib

Fork of HardwareTimersLib by Mark Gottscho

Revision:
2:5056ec8c52e8
Parent:
1:7dde0e4d30da
Child:
5:ea14fc749f44
diff -r 7dde0e4d30da -r 5056ec8c52e8 Timer_TPM.cpp
--- a/Timer_TPM.cpp	Sun Mar 09 01:09:56 2014 +0000
+++ b/Timer_TPM.cpp	Sun Mar 09 03:02:55 2014 +0000
@@ -14,8 +14,8 @@
 uint32_t Timer_TPM::__count = 0;
 
 
-Timer_TPM::Timer_TPM() :
-        HardwareTimer(20.8333333333) //20.833... ns per tick, roll over at maximum possible value to reduce interrupt frequency
+Timer_TPM::Timer_TPM(float tickValue) :
+        HardwareTimer(tickValue)
         {   
 }