Skip to content

Commit

Permalink
default SERIALRX_CRSF if SERIALRX_PROVIDER not defined (#1050)
Browse files Browse the repository at this point in the history
  • Loading branch information
nerdCopter authored Jul 12, 2024
1 parent d13bab4 commit 9de3526
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 9de3526

Please sign in to comment.