mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 20:35:19 +03:00
utilize MSP_SET_MOTOR callback (its possible now)
This commit is contained in:
parent
6e6f7a77c2
commit
c44f1bb36d
1 changed files with 3 additions and 3 deletions
|
@ -221,9 +221,9 @@ GUI_control.prototype.tab_switch_cleanup = function(callback) {
|
||||||
buffer_out.push(highByte(MISC.minthrottle));
|
buffer_out.push(highByte(MISC.minthrottle));
|
||||||
}
|
}
|
||||||
|
|
||||||
send_message(MSP_codes.MSP_SET_MOTOR, buffer_out);
|
send_message(MSP_codes.MSP_SET_MOTOR, buffer_out, false, function() {
|
||||||
|
if (callback) callback();
|
||||||
if (callback) callback();
|
});
|
||||||
break;
|
break;
|
||||||
case 'sensors':
|
case 'sensors':
|
||||||
GUI.interval_kill_all(['port-update', 'port_usage']);
|
GUI.interval_kill_all(['port-update', 'port_usage']);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue