mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-14 11:59:51 +03:00
chainer for motors tab
This commit is contained in:
parent
80dfe85930
commit
eb208af39d
5 changed files with 42 additions and 17 deletions
|
@ -177,6 +177,7 @@ var mspHelper = (function (gui) {
|
|||
|
||||
needle += 2;
|
||||
}
|
||||
MOTOR_RULES.setMotorCount(motorCount);
|
||||
break;
|
||||
case MSPCodes.MSP_RC:
|
||||
RC.active_channels = dataHandler.message_length_expected / 2;
|
||||
|
@ -2603,6 +2604,10 @@ var mspHelper = (function (gui) {
|
|||
}
|
||||
};
|
||||
|
||||
self.loadMotors = function (callback) {
|
||||
MSP.send_message(MSPCodes.MSP_MOTOR, false, false, callback);
|
||||
};
|
||||
|
||||
self.getCraftName = function(callback) {
|
||||
if (semver.gt(CONFIG.flightControllerVersion, "1.8.0")) {
|
||||
MSP.send_message(MSPCodes.MSP_NAME, false, false, function(resp) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue