remove duplicated preprocessor
This commit is contained in:
parent
8c788d99c5
commit
ec287000b3
|
@ -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…
Reference in New Issue