Skip to content

Commit

Permalink
default SERIALRX_CRSF if SERIALRX_PROVIDER not defined
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter committed Apr 21, 2024
1 parent c7d7dd3 commit 6634d2e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/target/common_defaults_post.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -224,3 +224,7 @@
#ifndef BINDPLUG_PIN
#define BINDPLUG_PIN NONE
#endif

#ifndef DEFAULT_RX_FEATURE
#define DEFAULT_RX_FEATURE FEATURE_RX_SERIAL
#endif

0 comments on commit 6634d2e

Please sign in to comment.