mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Disabling CS pin is to take it high, and enabling is to bring it low.
This commit is contained in:
parent
6fac2c012b
commit
190b1053d4
1 changed files with 2 additions and 2 deletions
|
@ -53,8 +53,8 @@ void detectHardwareRevision(void)
|
|||
|
||||
#ifdef USE_SPI
|
||||
|
||||
#define DISABLE_SPI_CS IOLo(nazeSpiCsPin)
|
||||
#define ENABLE_SPI_CS IOHi(nazeSpiCsPin)
|
||||
#define DISABLE_SPI_CS IOHi(nazeSpiCsPin)
|
||||
#define ENABLE_SPI_CS IOLo(nazeSpiCsPin)
|
||||
|
||||
#define SPI_DEVICE_NONE (0)
|
||||
#define SPI_DEVICE_FLASH (1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue