mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Fix unhandled SPI4 // Size reduction F1
This commit is contained in:
parent
07dc9eaa5e
commit
32ec29ccce
3 changed files with 14 additions and 3 deletions
|
@ -199,6 +199,13 @@ bool spiInit(SPIDevice device)
|
|||
return true;
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case SPIDEV_4:
|
||||
#if defined(USE_SPI_DEVICE_4)
|
||||
spiInitDevice(device);
|
||||
return true;
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue