mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
STM32F745 Do not define USE_SPI_DEVICE_5 and USE_SPI_DEVICE_6
SPI5 and SPI6 are only available in packages >= 144, and these are not defined in bus_spi_pinconfig.c either. Accessing spiInitDevice() with SPIDEV_5 or SPIDEV_6 would cause hard fault.
This commit is contained in:
parent
4af1127d7a
commit
6fca1a8409
1 changed files with 0 additions and 2 deletions
|
@ -46,8 +46,6 @@
|
|||
#define USE_SPI_DEVICE_2
|
||||
#define USE_SPI_DEVICE_3
|
||||
#define USE_SPI_DEVICE_4
|
||||
#define USE_SPI_DEVICE_5
|
||||
#define USE_SPI_DEVICE_6
|
||||
|
||||
#define TARGET_IO_PORTA 0xffff
|
||||
#define TARGET_IO_PORTB 0xffff
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue