1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-21 15:25:22 +03:00

Serial refactor part 2 (#4404)

* Serial refactor part 2

* Fix callback

* Fix some sonar complaints

* Does no longer block dfu

* Excempt presets

* Add interval for reboot dialog

* Update message after review Vitroid
This commit is contained in:
Mark Haslinghuis 2025-03-31 22:54:06 +02:00 committed by GitHub
parent c842b9d60b
commit 2d36e62474
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 402 additions and 135 deletions

View file

@ -272,7 +272,7 @@ class WebSerial extends EventTarget {
if (this.reader) {
await this.reader.cancel();
this.reader.releaseLock();
await this.reader.releaseLock();
this.reader = null;
}