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

View file

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