Creates a new instance of TimedDevice, setting default speed Protected as overriding the tick handler should only done for the independent timed device
(boolean throttleUsingTicks)
| 64 | * for the independent timed device |
| 65 | */ |
| 66 | protected TimedDevice(boolean throttleUsingTicks) { |
| 67 | super(); |
| 68 | setSpeedInHz(defaultCyclesPerSecond()); |
| 69 | tickHandler = throttleUsingTicks ? throttledTick : unthrottledTick; |
| 70 | resetSyncTimer(); |
| 71 | } |
| 72 | |
| 73 | public TimedDevice() { |
| 74 | this(true); |
nothing calls this directly
no test coverage detected