Fix feed rate detection

This commit is contained in:
Skylar Grant 2023-01-06 20:26:51 -05:00
parent dd2dc0ac65
commit d7a32e18ce
2 changed files with 8 additions and 8 deletions

View File

@ -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,

View File

@ -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: