Allow fractional ms to be specified for HW PWM in switch period setting. still defaul...
authorJim Morris <morris@wolfman.com>
Wed, 9 Sep 2015 20:38:31 +0000 (13:38 -0700)
committerJim Morris <morris@wolfman.com>
Wed, 9 Sep 2015 20:38:31 +0000 (13:38 -0700)
commit03f126a0dc62eeede863cb509223ba0150b811ef
tree26188db9b01d91cf284abd5ba8b938a2e77ca909
parent7824bb8f865a0edf00a1bc779d1e5c21a4f3cc31
Allow fractional ms to be specified for HW PWM in switch period setting. still defaults to 20ms, and the setting is still ms but 0.1 would set the period to 10000Hz.
src/modules/tools/switch/Switch.cpp
src/modules/tools/temperatureswitch/TemperatureSwitch.cpp
src/modules/tools/temperatureswitch/TemperatureSwitch.h