diff --git a/Marlin/src/pins/lpc1769/pins_FLY_CDY.h b/Marlin/src/pins/lpc1769/pins_FLY_CDY.h
index 5a05fc23ff..2b802b2fc9 100644
--- a/Marlin/src/pins/lpc1769/pins_FLY_CDY.h
+++ b/Marlin/src/pins/lpc1769/pins_FLY_CDY.h
@@ -25,7 +25,7 @@
* Smoothieboard pin assignments
*/
-#ifndef MCU_LPC1769
+#if NOT_TARGET(MCU_LPC1769)
#error "Oops! Make sure you have the LPC1769 environment selected in your IDE."
#endif
@@ -176,15 +176,15 @@
#ifndef SDCARD_CONNECTION
#define SDCARD_CONNECTION ONBOARD
#endif
+
+ #if SD_CONNECTION_IS(ONBOARD)
#define SS_PIN P0_06
#define SCK_PIN P0_07
#define MISO_PIN P0_08
#define MOSI_PIN P0_09
#define SD_DETECT_PIN P0_05
-#if SD_CONNECTION_IS(ONBOARD)
-
#endif
-
+
#if SD_CONNECTION_IS(LCD)
#define SCK_PIN P0_15
diff --git a/Marlin/src/pins/stm32f1/pins_FLY_MINI.h b/Marlin/src/pins/stm32f1/pins_FLY_MINI.h
index b746ca6280..073d6c7368 100644
--- a/Marlin/src/pins/stm32f1/pins_FLY_MINI.h
+++ b/Marlin/src/pins/stm32f1/pins_FLY_MINI.h
@@ -16,7 +16,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*
*/
#pragma once
@@ -26,7 +26,7 @@
#endif
#define BOARD_INFO_NAME "FLY_MINI"
-#define BOARD_WEBSITE_URL "github.com/FLYmaker"
+#define BOARD_WEBSITE_URL "github.com/FLYmaker"
#define DISABLE_JTAG
//
@@ -138,7 +138,7 @@
#define MISO_PIN PB14
#define MOSI_PIN PB15
-#define SDSS SS_PIN
+#define SDSS SS_PIN
#define SD_DETECT_PIN PB11
#define BEEPER_PIN PC14