mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-24 00:35:20 +03:00
Add support for battery profiles
This commit is contained in:
parent
a1b807fc4b
commit
e945c0749c
11 changed files with 131 additions and 8 deletions
|
@ -123,7 +123,12 @@ helper.periodicStatusUpdater = (function () {
|
|||
MSP.send_message(MSPCodes.MSP_SENSOR_STATUS, false, false);
|
||||
}
|
||||
|
||||
MSP.send_message(MSPCodes.MSP_STATUS_EX, false, false);
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "2.0.0")) {
|
||||
MSP.send_message(MSPCodes.MSPV2_INAV_STATUS, false, false);
|
||||
} else {
|
||||
MSP.send_message(MSPCodes.MSP_STATUS_EX, false, false);
|
||||
}
|
||||
|
||||
MSP.send_message(MSPCodes.MSP_ACTIVEBOXES, false, false);
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, '1.8.1')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue