CF/BF - Delete BST_SET_RAW_RC - it was missing a break statement and

thus was clearly unused.
This commit is contained in:
Hydra 2017-03-19 15:25:05 +00:00 committed by Dominic Clifton
parent f4ff951813
commit e7cbfcc8c0
1 changed files with 0 additions and 15 deletions

View File

@ -1008,21 +1008,6 @@ static bool bstSlaveProcessWriteCommand(uint8_t bstWriteCommand)
changePidProfile(bstRead8());
}
break;
case BST_SET_RAW_RC:
{
uint8_t channelCount = bstReadDataSize() / sizeof(uint16_t);
if (channelCount > MAX_SUPPORTED_RC_CHANNEL_COUNT) {
ret = BST_FAILED;
} else {
uint16_t frame[MAX_SUPPORTED_RC_CHANNEL_COUNT];
for (i = 0; i < channelCount; i++) {
frame[i] = bstRead16();
}
rxMspFrameReceive(frame, channelCount);
}
}
case BST_SET_ACC_TRIM:
accelerometerConfigMutable()->accelerometerTrims.values.pitch = bstRead16();
accelerometerConfigMutable()->accelerometerTrims.values.roll = bstRead16();