1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Use csn instead of cs for chip select.

This commit is contained in:
jflyper 2017-07-18 17:21:46 +09:00
parent eefa2a8e88
commit 8fe8da975b
3 changed files with 9 additions and 9 deletions

View file

@ -33,7 +33,7 @@ typedef enum {
typedef struct barometerConfig_s {
uint8_t baro_bustype;
uint8_t baro_spi_device;
ioTag_t baro_spi_cs;
ioTag_t baro_spi_csn; // Also used as XCLR (positive logic) for BMP085
uint8_t baro_i2c_device;
uint8_t baro_i2c_address;
uint8_t baro_hardware; // Barometer hardware to use