1
0
Fork 0
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:
borisbstyle 2016-10-23 00:35:26 +02:00
parent 07dc9eaa5e
commit 32ec29ccce
3 changed files with 14 additions and 3 deletions

View file

@ -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;