mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 08:15:19 +03:00
Add support for MSP_SENSOR_STATUS if firmware version is gte 1.5
This commit is contained in:
parent
c631b33fda
commit
2946004ccf
16 changed files with 153 additions and 63 deletions
|
@ -94,6 +94,10 @@ TABS.transponder.initialize = function (callback, scrollPosition) {
|
|||
// status data pulled via separate timer with static speed
|
||||
GUI.interval_add('status_pull', function status_pull() {
|
||||
MSP.send_message(MSP_codes.MSP_STATUS);
|
||||
|
||||
if (semver.gte(CONFIG.flightControllerVersion, "1.5.0")) {
|
||||
MSP.send_message(MSP_codes.MSP_SENSOR_STATUS);
|
||||
}
|
||||
}, 250, true);
|
||||
|
||||
GUI.content_ready(callback);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue