1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 16:25:22 +03:00

CF/BF - ensure battery config is checked on connect so the battery

bargraph can be calculated.
This commit is contained in:
Hydra 2017-04-02 12:37:38 +01:00 committed by Michael Keller
parent a7703a995d
commit 5ab9d07ff7

View file

@ -271,6 +271,9 @@ function onConnect() {
$('#tabs ul.mode-connected').show();
if (semver.gte(CONFIG.apiVersion, "1.33.0")) {
MSP.send_message(MSPCodes.MSP_BATTERY_CONFIG, false, false);
}
MSP.send_message(MSPCodes.MSP_STATUS_EX, false, false);
MSP.send_message(MSPCodes.MSP_DATAFLASH_SUMMARY, false, false);