mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-22 07:45:16 +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;
|
||||
|
||||
case 'break':
|
||||
// This occurs on F1 boards with old firmware during reboot
|
||||
case 'break': // This occurs on F1 boards with old firmware during reboot
|
||||
case 'overrun':
|
||||
case 'frame_error': //Got disconnected
|
||||
// wait 50 ms and attempt recovery
|
||||
self.error = info.error;
|
||||
setTimeout(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue