mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +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));
|
||||
}
|
||||
|
||||
send_message(MSP_codes.MSP_SET_MOTOR, buffer_out);
|
||||
|
||||
if (callback) callback();
|
||||
send_message(MSP_codes.MSP_SET_MOTOR, buffer_out, false, function() {
|
||||
if (callback) callback();
|
||||
});
|
||||
break;
|
||||
case 'sensors':
|
||||
GUI.interval_kill_all(['port-update', 'port_usage']);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue