Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ajjjjjjjj committed Dec 3, 2024
1 parent 2e1c8dc commit 0ef6cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions radio/src/targets/common/arm/stm32/aux_serial_driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,13 @@ void auxSerialInit(unsigned int mode, unsigned int protocol)

switch (mode) {
case UART_MODE_TELEMETRY_MIRROR:
// The same baudrate for Crossfire and AFHDS2A, but CROSSFIRE is optional
// #if defined(CROSSFIRE)
// if (protocol == PROTOCOL_TELEMETRY_CROSSFIRE) { // PROTOCOL_TELEMETRY_CROSSFIRE
// if (protocol == PROTOCOL_TELEMETRY_CROSSFIRE) {
// auxSerialSetup(CROSSFIRE_TELEM_MIRROR_BAUDRATE, false);
// break;
// }
// #endif
// The same baudrate for Crossfire and AFHDS2A, but CROSSFIRE is optional
auxSerialSetup(AFHDS2A_TELEM_MIRROR_BAUDRATE, false);
break;

Expand Down

0 comments on commit 0ef6cc2

Please sign in to comment.