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

Fixed cell count negative value reads

This commit is contained in:
Asizon 2020-06-04 20:45:23 +02:00
parent 6a67977916
commit 3f679c3a05

View file

@ -1147,7 +1147,7 @@ MspHelper.prototype.process_data = function(dataHandler) {
if(semver.gte(CONFIG.apiVersion, API_VERSION_1_43)) { if(semver.gte(CONFIG.apiVersion, API_VERSION_1_43)) {
ADVANCED_TUNING.motorOutputLimit = data.readU8(); ADVANCED_TUNING.motorOutputLimit = data.readU8();
ADVANCED_TUNING.autoProfileCellCount = data.readU8(); ADVANCED_TUNING.autoProfileCellCount = data.read8();
ADVANCED_TUNING.idleMinRpm = data.readU8(); ADVANCED_TUNING.idleMinRpm = data.readU8();
} }
} }