mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 08:45:36 +03:00
Fixes from review.
This commit is contained in:
parent
d88bec63a8
commit
373e1d678e
2 changed files with 3 additions and 3 deletions
|
@ -22,12 +22,12 @@
|
|||
#include "rx/rx_spi.h"
|
||||
|
||||
typedef struct rxFrSkySpiConfig_s {
|
||||
bool autoBind;
|
||||
uint8_t autoBind;
|
||||
uint8_t bindTxId[2];
|
||||
int8_t bindOffset;
|
||||
uint8_t bindHopData[50];
|
||||
uint8_t rxNum;
|
||||
bool useExternalAdc;
|
||||
uint8_t useExternalAdc;
|
||||
} rxFrSkySpiConfig_t;
|
||||
|
||||
PG_DECLARE(rxFrSkySpiConfig_t, rxFrSkySpiConfig);
|
||||
|
|
|
@ -78,7 +78,7 @@ static IO_t antSelPin;
|
|||
int16_t rssiDbm;
|
||||
#endif
|
||||
|
||||
PG_REGISTER_WITH_RESET_TEMPLATE(rxFrSkySpiConfig_t, rxFrSkySpiConfig, PG_RX_FRSKY_SPI_CONFIG, 0);
|
||||
PG_REGISTER_WITH_RESET_TEMPLATE(rxFrSkySpiConfig_t, rxFrSkySpiConfig, PG_RX_FRSKY_SPI_CONFIG, 1);
|
||||
|
||||
PG_RESET_TEMPLATE(rxFrSkySpiConfig_t, rxFrSkySpiConfig,
|
||||
.autoBind = false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue