From 9de3526a01daa94f8fd5b5f92102a244a33f925a Mon Sep 17 00:00:00 2001 From: nerdCopter <56646290+nerdCopter@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:34:28 -0500 Subject: [PATCH] default SERIALRX_CRSF if SERIALRX_PROVIDER not defined (#1050) --- src/main/target/common_defaults_post.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/target/common_defaults_post.h b/src/main/target/common_defaults_post.h index ce187dc5a7..30df0f80b1 100644 --- a/src/main/target/common_defaults_post.h +++ b/src/main/target/common_defaults_post.h @@ -210,7 +210,7 @@ #define RX_SPI_DEFAULT_PROTOCOL 0 #endif #ifndef SERIALRX_PROVIDER -#define SERIALRX_PROVIDER 0 +#define SERIALRX_PROVIDER SERIALRX_CRSF #endif #define RX_MIN_USEC 885 @@ -224,3 +224,7 @@ #ifndef BINDPLUG_PIN #define BINDPLUG_PIN NONE #endif + +#ifndef DEFAULT_RX_FEATURE +#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL +#endif