1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-17 05:15:21 +03:00

Fixed 'connectionactive' indicator.

This commit is contained in:
mikeller 2016-08-16 23:58:31 +12:00
parent 6bf7ca93da
commit d8f19ab185
3 changed files with 4 additions and 3 deletions

View file

@ -475,7 +475,7 @@ function update_live_status() {
MSP.send_message(MSPCodes.MSP_ANALOG, false, false);
}
var active = ((Date.now() - MSP.analog_last_received_timestamp) < 300);
var active = ((Date.now() - ANALOG.last_received_timestamp) < 300);
for (var i = 0; i < AUX_CONFIG.length; i++) {
if (AUX_CONFIG[i] == 'ARM') {