Merge branch 'cleanflight/development' into NewPIDFunctions
commit
0b3f1a48fb
|
@ -68,6 +68,12 @@ var serial = {
|
|||
});
|
||||
}
|
||||
break;
|
||||
case 'break':
|
||||
// This occurs on F1 boards with old firmware.
|
||||
if (GUI.connected_to || GUI.connecting_to) {
|
||||
$('a.connect').click();
|
||||
}
|
||||
break;
|
||||
case 'timeout':
|
||||
// TODO
|
||||
break;
|
||||
|
|
|
@ -9,6 +9,8 @@ TABS.motors.initialize = function (callback) {
|
|||
var self = this;
|
||||
|
||||
self.armed = false;
|
||||
self.feature3DSupported = false;
|
||||
self.allowTestMode = true;
|
||||
|
||||
if (GUI.active_tab != 'motors') {
|
||||
GUI.active_tab = 'motors';
|
||||
|
@ -176,7 +178,7 @@ TABS.motors.initialize = function (callback) {
|
|||
localize();
|
||||
|
||||
self.feature3DEnabled = bit_check(BF_CONFIG.features, 12);
|
||||
self.allowTestMode = true;
|
||||
|
||||
if (self.feature3DEnabled && !self.feature3DSupported) {
|
||||
self.allowTestMode = false;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue