Fix feed rate detection
This commit is contained in:
parent
dd2dc0ac65
commit
d7a32e18ce
@ -17,11 +17,11 @@
|
||||
"igniterOff": 0
|
||||
},
|
||||
"intervals": {
|
||||
"augerOn": 600,
|
||||
"augerOff": 1400,
|
||||
"pause": 3000,
|
||||
"igniterStart": 5000,
|
||||
"blowerStop": 5000
|
||||
"augerOn": "600",
|
||||
"augerOff": "1400",
|
||||
"pause": "3000",
|
||||
"igniterStart": "5000",
|
||||
"blowerStop": "5000"
|
||||
},
|
||||
"web": {
|
||||
"port": 8080,
|
||||
|
@ -50,13 +50,13 @@ function refreshData() {
|
||||
augerOff.innerHTML = config.intervals.augerOff;
|
||||
|
||||
switch (config.intervals.augerOn) {
|
||||
case 600:
|
||||
case '600':
|
||||
feedRate.innerHTML = 'Low';
|
||||
break;
|
||||
case 800:
|
||||
case '800':
|
||||
feedRate.innerHTML = 'Medium';
|
||||
break;
|
||||
case 1000:
|
||||
case '1000':
|
||||
feedRate.innerHTML = 'High';
|
||||
break;
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user