mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-14 20:10:18 +03:00
remove duplicated preprocessor
This commit is contained in:
parent
8c788d99c5
commit
ec287000b3
1 changed files with 0 additions and 2 deletions
|
@ -642,10 +642,8 @@ void crsfProcessCommand(uint8_t *frameStart) {
|
||||||
case CRSF_COMMAND_SUBCMD_GENERAL:
|
case CRSF_COMMAND_SUBCMD_GENERAL:
|
||||||
switch (subCmd) {
|
switch (subCmd) {
|
||||||
case CRSF_COMMAND_SUBCMD_GENERAL_CRSF_SPEED_PROPOSAL:
|
case CRSF_COMMAND_SUBCMD_GENERAL_CRSF_SPEED_PROPOSAL:
|
||||||
#if defined(USE_CRSF_V3)
|
|
||||||
crsfProcessSpeedNegotiationCmd(&frameStart[1]);
|
crsfProcessSpeedNegotiationCmd(&frameStart[1]);
|
||||||
crsfScheduleSpeedNegotiationResponse();
|
crsfScheduleSpeedNegotiationResponse();
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue