Browse Source

Fix bug in current calibration parameter from the web interface casting to int instead of float

fastled
Xose Pérez 7 years ago
parent
commit
efa8553bbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/web.ino

+ 1
- 1
code/espurna/web.ino View File

@ -188,7 +188,7 @@ void _wsParse(uint32_t client_id, uint8_t * payload, size_t length) {
}
if (key == "powExpectedCurrent") {
powSetExpectedCurrent(value.toInt());
powSetExpectedCurrent(value.toFloat());
changed = true;
}


Loading…
Cancel
Save