From abcf395232ecaafe087a19364579f5c4a2e21136 Mon Sep 17 00:00:00 2001 From: bkleiner Date: Mon, 1 Apr 2024 14:56:30 +0200 Subject: [PATCH] reset serial_rx_detected_protcol on rx_init --- src/rx/rx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rx/rx.c b/src/rx/rx.c index 5cfd64775..e438b557f 100644 --- a/src/rx/rx.c +++ b/src/rx/rx.c @@ -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; }