mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
add MSP_SET_RCMAP to cruncher
This commit is contained in:
parent
4a00abd162
commit
5d9b28c5c7
1 changed files with 5 additions and 0 deletions
|
@ -624,6 +624,11 @@ MSP.crunch = function (code) {
|
|||
buffer.push(highByte(AUX_CONFIG_values[i]));
|
||||
}
|
||||
break;
|
||||
case MSP_codes.MSP_SET_RCMAP:
|
||||
for (var i = 0; i < RC_MAP.length; i++) {
|
||||
buffer.push(RC_MAP[i]);
|
||||
}
|
||||
break;
|
||||
case MSP_codes.MSP_SET_ACC_TRIM:
|
||||
buffer.push(lowByte(CONFIG.accelerometerTrims[0]));
|
||||
buffer.push(highByte(CONFIG.accelerometerTrims[0]));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue