Merge pull request #7211 from phobos-/led-pin-defaults
Moved Default RX_SPI_LED_PIN definition to common_default_post.h
This commit is contained in:
commit
72cc59b834
|
@ -31,10 +31,6 @@
|
|||
|
||||
#include "rx/rx_spi.h"
|
||||
|
||||
#ifndef RX_SPI_LED_PIN
|
||||
#define RX_SPI_LED_PIN NONE
|
||||
#endif
|
||||
|
||||
PG_REGISTER_WITH_RESET_FN(rxSpiConfig_t, rxSpiConfig, PG_RX_SPI_CONFIG, 0);
|
||||
|
||||
void pgResetFn_rxSpiConfig(rxSpiConfig_t *rxSpiConfig)
|
||||
|
|
|
@ -249,6 +249,12 @@
|
|||
#define BINDPLUG_PIN NONE
|
||||
#endif
|
||||
|
||||
#ifdef USE_RX_SPI
|
||||
#ifndef RX_SPI_LED_PIN
|
||||
#define RX_SPI_LED_PIN NONE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// F4 and F7 single gyro boards
|
||||
#if defined(USE_MULTI_GYRO) && !defined(GYRO_2_SPI_INSTANCE)
|
||||
#define GYRO_2_SPI_INSTANCE GYRO_1_SPI_INSTANCE
|
||||
|
|
Loading…
Reference in New Issue