Skip to content

Commit

Permalink
remove extra check
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 14, 2021
1 parent 559def3 commit ee72adb
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Marlin/src/HAL/STM32/Sd2Card_sdio_stm32duino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
#include <stdint.h>
#include <stdbool.h>

#if NONE(STM32F103xE, STM32F103xG, STM32F4xx, STM32F7xx)
#error "ERROR - Only STM32F103xE, STM32F103xG, STM32F4xx or STM32F7xx CPUs supported"
#endif

// use local drivers
#if defined(STM32F103xE) || defined(STM32F103xG)
#include <stm32f1xx_hal_rcc_ex.h>
Expand All @@ -47,7 +43,7 @@
#include <stm32f7xx_hal_gpio.h>
#include <stm32f7xx_hal_sd.h>
#else
#error "ERROR - Only STM32F103xE, STM32F103xG, STM32F4xx or STM32F7xx CPUs supported"
#error "Only STM32F103xE, STM32F103xG, STM32F4xx or STM32F7xx CPUs support SDIO."
#endif

// Fixed
Expand Down

0 comments on commit ee72adb

Please sign in to comment.