added some comments

This commit is contained in:
ntoff
2017-09-05 09:37:05 +10:00
parent 30ee76bf7e
commit 2cc132213f
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ $(function() {
//convert percentage into PWM
fanPWM = ko.pureComputed(function () {
self.speed = fanSpeed() * 255 / 100
self.speed = fanSpeed() * 255 / 100 //don't forget to limit this to 2 decimal places at some point.
return self.speed;
});