Don't include STM32 Core code when compiling STM32 Generic (#12575)

This commit is contained in:
mr-miky
2018-12-03 13:55:49 +01:00
committed by Scott Lahteine
parent 64389acdf1
commit 11c7945365
15 changed files with 26 additions and 22 deletions

View File

@@ -30,7 +30,7 @@
* Adapted to the STM32F4 HAL
*/
#if defined(STM32GENERIC) && (defined(STM32F4) || defined(STM32F4xx))
#if defined(STM32GENERIC) && defined(STM32F4)
// --------------------------------------------------------------------------
// Includes
@@ -173,4 +173,4 @@ void spiSendBlock(uint8_t token, const uint8_t* buf) {
#endif // SOFTWARE_SPI
#endif // STM32F4 || STM32F4xx
#endif // STM32GENERIC && STM32F4