Skip to content

Commit

Permalink
reset serial_rx_detected_protcol on rx_init
Browse files Browse the repository at this point in the history
  • Loading branch information
bkleiner committed Apr 1, 2024
1 parent a9edf8a commit abcf395
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rx/rx.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ void rx_init() {
rx_init_state();
rx_spi_detect();

serial_rx_detected_protcol = RX_SERIAL_PROTOCOL_INVALID;
if (!target_has_rx_protocol(profile.receiver.protocol)) {
profile.receiver.protocol = RX_PROTOCOL_INVALID;
}
Expand Down

0 comments on commit abcf395

Please sign in to comment.