1
0
Fork 0
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:
Pawel Spychalski (DzikuVx) 2018-05-02 20:57:08 +02:00
parent 1422481e6d
commit 9ac86b399a

View file

@ -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() {