Skip to content

Commit b1726c2

Browse files
authored
Fix airmodeActivateTHreshold
1 parent 13254b1 commit b1726c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/msp/MSPHelper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
545545
if (semver.gte(CONFIG.apiVersion, "1.20.0")) {
546546
RX_CONFIG.rcInterpolation = data.readU8();
547547
RX_CONFIG.rcInterpolationInterval = data.readU8();
548-
RX_CONFIG.airModeActivateThreshold = data.readU8();
548+
RX_CONFIG.airModeActivateThreshold = data.readU16();
549549
} else {
550550
RX_CONFIG.rcInterpolation = 0;
551551
RX_CONFIG.rcInterpolationInterval = 0;

0 commit comments

Comments
 (0)