From 55a109e7fe78088334f94ef2cf2470281f29a56a Mon Sep 17 00:00:00 2001 From: thisiskeithb <13375512+thisiskeithb@users.noreply.github.com> Date: Mon, 20 Nov 2023 23:53:16 -0800 Subject: [PATCH] (c) 2023, use env_validate.h, final new line --- Marlin/src/pins/stm32f4/pins_MELLOW_FLY_E3_PRO_V3.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Marlin/src/pins/stm32f4/pins_MELLOW_FLY_E3_PRO_V3.h b/Marlin/src/pins/stm32f4/pins_MELLOW_FLY_E3_PRO_V3.h index b784557bd820..4704cd686887 100644 --- a/Marlin/src/pins/stm32f4/pins_MELLOW_FLY_E3_PRO_V3.h +++ b/Marlin/src/pins/stm32f4/pins_MELLOW_FLY_E3_PRO_V3.h @@ -1,6 +1,6 @@ /** * Marlin 3D Printer Firmware - * Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] + * Copyright (c) 2023 MarlinFirmware [https://github.com/MarlinFirmware/Marlin] * * Based on Sprinter and grbl. * Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm @@ -21,9 +21,7 @@ */ #pragma once -#if NOT_TARGET(STM32F4) - #error "Oops! Select an STM32F4 board in 'Tools > Board.'" -#endif +#include "env_validate.h" #ifndef BOARD_INFO_NAME #define BOARD_INFO_NAME "Mellow Fly E3 Pro V3" @@ -553,4 +551,4 @@ #define FORCE_SOFT_SPI #else #define TEMP_1_PIN PA1 // TH0 -#endif \ No newline at end of file +#endif