mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 13:25:30 +03:00
RX code tidy
This commit is contained in:
parent
b123e74a73
commit
c44e0796ae
2 changed files with 0 additions and 5 deletions
|
@ -29,13 +29,9 @@
|
||||||
#include "build/build_config.h"
|
#include "build/build_config.h"
|
||||||
|
|
||||||
#include "system.h"
|
#include "system.h"
|
||||||
#include "gpio.h"
|
|
||||||
#include "io.h"
|
#include "io.h"
|
||||||
#include "io_impl.h"
|
|
||||||
#include "rcc.h"
|
|
||||||
#include "rx_spi.h"
|
#include "rx_spi.h"
|
||||||
#include "rx_nrf24l01.h"
|
#include "rx_nrf24l01.h"
|
||||||
#include "bus_spi.h"
|
|
||||||
|
|
||||||
#define NRF24_CE_HI() {IOHi(IOGetByTag(IO_TAG(RX_CE_PIN)));}
|
#define NRF24_CE_HI() {IOHi(IOGetByTag(IO_TAG(RX_CE_PIN)));}
|
||||||
#define NRF24_CE_LO() {IOLo(IOGetByTag(IO_TAG(RX_CE_PIN)));}
|
#define NRF24_CE_LO() {IOLo(IOGetByTag(IO_TAG(RX_CE_PIN)));}
|
||||||
|
|
|
@ -145,7 +145,6 @@ typedef uint8_t (*rcFrameStatusPtr)(void);
|
||||||
|
|
||||||
typedef struct rxRuntimeConfig_s {
|
typedef struct rxRuntimeConfig_s {
|
||||||
uint8_t channelCount; // number of rc channels as reported by current input driver
|
uint8_t channelCount; // number of rc channels as reported by current input driver
|
||||||
uint16_t rxRefreshRate;
|
|
||||||
rcReadRawDataPtr rcReadRawFunc;
|
rcReadRawDataPtr rcReadRawFunc;
|
||||||
rcFrameStatusPtr rcFrameStatusFunc;
|
rcFrameStatusPtr rcFrameStatusFunc;
|
||||||
} rxRuntimeConfig_t;
|
} rxRuntimeConfig_t;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue