Commit Graph

6 Commits

Author SHA1 Message Date
Marek Bel
6d2358125a Fix Timer_test broken by conditional translation for SYSTEM_TIMER_2. 2019-01-28 19:29:31 +01:00
Robert Pelnar
1b4e49b5ac Fixed fancheck and include in TimerRemaining.h
this commit enables fast pwm mode for bed (SYSTEM_TIMER_2 definition uncomented)
fancheck fix verified with selftest
2019-01-28 12:57:33 +01:00
Robert Pelnar
eea755496b Conditional translation for SYSTEM_TIMER_2 because we want to have posibility to switch between old/new implementation.
Timing functions (millis, micros and delay) replaced in whole source, defined in Marlin.h.
This commit enables original implementation (SYSTEM_TIMER_2 undefined)
Verified with passed complete wizard process.
2019-01-27 22:48:51 +01:00
Marek Bel
d669b4e93a Fix off by one error in TimerRemaining::remaining(). Add test cases for Timer. 2018-06-12 02:24:52 +02:00
Marek Bel
490f0c9620 Store timer period in TimerRemaining. 2018-06-11 23:41:36 +02:00
Marek Bel
9772905ade Add TimerRemaining class. 2018-06-11 21:19:58 +02:00