Browse Source

webui: show message only for real pin-lock failures (#2584)

network/test
Indu Prakash 1 year ago
committed by GitHub
parent
commit
2e19de7a44
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
21 changed files with 8355 additions and 8355 deletions
  1. BIN
      code/espurna/data/index.all.html.gz
  2. BIN
      code/espurna/data/index.curtain.html.gz
  3. BIN
      code/espurna/data/index.garland.html.gz
  4. BIN
      code/espurna/data/index.light.html.gz
  5. BIN
      code/espurna/data/index.lightfox.html.gz
  6. BIN
      code/espurna/data/index.rfbridge.html.gz
  7. BIN
      code/espurna/data/index.rfm69.html.gz
  8. BIN
      code/espurna/data/index.sensor.html.gz
  9. BIN
      code/espurna/data/index.small.html.gz
  10. BIN
      code/espurna/data/index.thermostat.html.gz
  11. +1352
    -1352
      code/espurna/static/index.all.html.gz.h
  12. +629
    -629
      code/espurna/static/index.curtain.html.gz.h
  13. +614
    -614
      code/espurna/static/index.garland.html.gz.h
  14. +1160
    -1160
      code/espurna/static/index.light.html.gz.h
  15. +615
    -615
      code/espurna/static/index.lightfox.html.gz.h
  16. +636
    -636
      code/espurna/static/index.rfbridge.html.gz.h
  17. +634
    -634
      code/espurna/static/index.rfm69.html.gz.h
  18. +680
    -680
      code/espurna/static/index.sensor.html.gz.h
  19. +601
    -601
      code/espurna/static/index.small.html.gz.h
  20. +1432
    -1432
      code/espurna/static/index.thermostat.html.gz.h
  21. +2
    -2
      code/html/custom.js

BIN
code/espurna/data/index.all.html.gz View File


BIN
code/espurna/data/index.curtain.html.gz View File


BIN
code/espurna/data/index.garland.html.gz View File


BIN
code/espurna/data/index.light.html.gz View File


BIN
code/espurna/data/index.lightfox.html.gz View File


BIN
code/espurna/data/index.rfbridge.html.gz View File


BIN
code/espurna/data/index.rfm69.html.gz View File


BIN
code/espurna/data/index.sensor.html.gz View File


BIN
code/espurna/data/index.small.html.gz View File


BIN
code/espurna/data/index.thermostat.html.gz View File


+ 1352
- 1352
code/espurna/static/index.all.html.gz.h
File diff suppressed because it is too large
View File


+ 629
- 629
code/espurna/static/index.curtain.html.gz.h
File diff suppressed because it is too large
View File


+ 614
- 614
code/espurna/static/index.garland.html.gz.h
File diff suppressed because it is too large
View File


+ 1160
- 1160
code/espurna/static/index.light.html.gz.h
File diff suppressed because it is too large
View File


+ 615
- 615
code/espurna/static/index.lightfox.html.gz.h
File diff suppressed because it is too large
View File


+ 636
- 636
code/espurna/static/index.rfbridge.html.gz.h
File diff suppressed because it is too large
View File


+ 634
- 634
code/espurna/static/index.rfm69.html.gz.h
File diff suppressed because it is too large
View File


+ 680
- 680
code/espurna/static/index.sensor.html.gz.h
File diff suppressed because it is too large
View File


+ 601
- 601
code/espurna/static/index.small.html.gz.h
File diff suppressed because it is too large
View File


+ 1432
- 1432
code/espurna/static/index.thermostat.html.gz.h
File diff suppressed because it is too large
View File


+ 2
- 2
code/html/custom.js View File

@ -2566,13 +2566,13 @@ function processData(data) {
}
if ("gpioInfo" === key) {
let failed = "Could not acquire locks on the following pins, check configuration\n\n";
let failed = "";
for (const [pin, file, func, line] of value["failed-locks"]) {
failed += `GPIO${pin} @ ${file}:${func}:${line}\n`;
}
if (failed.length > 0) {
showErrorNotification(failed);
showErrorNotification("Could not acquire locks on the following pins, check configuration\n\n" + failed);
}
return;
}


Loading…
Cancel
Save