mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 06:45:16 +03:00
Call serial frame status functions via pointer rather than switch statement.
Added type specific serial build flags as per iNav for finer grain ROM size control for F1 targets. Improved efficiency of rxUpdateCheck function.
This commit is contained in:
parent
60b3e22d76
commit
93cab8805b
23 changed files with 136 additions and 197 deletions
|
@ -1225,7 +1225,7 @@ static mspResult_e mspFcProcessInCommand(uint8_t cmdMSP, sbuf_t *src)
|
|||
break;
|
||||
|
||||
case MSP_SET_RAW_RC:
|
||||
#ifndef SKIP_RX_MSP
|
||||
#ifdef USE_RX_MSP
|
||||
{
|
||||
uint8_t channelCount = dataSize / sizeof(uint16_t);
|
||||
if (channelCount > MAX_SUPPORTED_RC_CHANNEL_COUNT) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue