Skip to content

Commit 902cbba

Browse files
committed
Fix TH3D EZBoard V2 motherboard check
MB() macro takes care of BOARD_ prefix
1 parent 5fd8955 commit 902cbba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Marlin/src/pins/pins.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,7 @@
842842
#error "BOARD_RAMPS_LONGER3D_LK4PRO is now BOARD_LONGER3D_LKx_PRO. Please update your configuration."
843843
#elif MB(BTT_SKR_V2_0)
844844
#error "BOARD_BTT_SKR_V2_0 is now BOARD_BTT_SKR_V2_0_REV_A or BOARD_BTT_SKR_V2_0_REV_B. See https://bit.ly/3t5d9JQ for more information. Please update your configuration."
845-
#elif MB(BOARD_TH3D_EZBOARD_LITE_V2)
845+
#elif MB(TH3D_EZBOARD_LITE_V2)
846846
#error "BOARD_TH3D_EZBOARD_LITE_V2 is now BOARD_TH3D_EZBOARD_V2. Please update your configuration."
847847
#elif defined(MOTHERBOARD)
848848
#error "Unknown MOTHERBOARD value set in Configuration.h."
@@ -873,6 +873,7 @@
873873
#undef BOARD_RAMPS_DAGOMA
874874
#undef BOARD_RAMPS_LONGER3D_LK4PRO
875875
#undef BOARD_BTT_SKR_V2_0
876+
#undef BOARD_TH3D_EZBOARD_LITE_V2
876877

877878
#endif
878879

0 commit comments

Comments
 (0)