mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 08:45:26 +03:00
Improved disconnect handling
This commit is contained in:
parent
1422481e6d
commit
9ac86b399a
1 changed files with 2 additions and 2 deletions
|
@ -71,9 +71,9 @@ var serial = {
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'break':
|
case 'break': // This occurs on F1 boards with old firmware during reboot
|
||||||
// This occurs on F1 boards with old firmware during reboot
|
|
||||||
case 'overrun':
|
case 'overrun':
|
||||||
|
case 'frame_error': //Got disconnected
|
||||||
// wait 50 ms and attempt recovery
|
// wait 50 ms and attempt recovery
|
||||||
self.error = info.error;
|
self.error = info.error;
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue