Skip to content

Commit

Permalink
🚸 Better error for MOTHERBOARD not defined (MarlinFirmware#22551)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellensp authored and ptoal committed Dec 16, 2021
1 parent fdb855e commit aafbba3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Marlin/src/pins/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -769,8 +769,10 @@
#error "BOARD_RAMPS_LONGER3D_LK4PRO is now BOARD_LONGER3D_LKx_PRO. Please update your configuration."
#elif MB(BTT_SKR_V2_0)
#error "BTT_SKR_V2_0 is now BTT_SKR_V2_0_REV_A or BTT_SKR_V2_0_REV_B. See https://bit.ly/3t5d9JQ for more information. Please update your configuration."
#elif defined(MOTHERBOARD)
#error "Unknown MOTHERBOARD value set in Configuration.h."
#else
#error "Unknown MOTHERBOARD value set in Configuration.h"
#error "MOTHERBOARD not defined! Use '#define MOTHERBOARD BOARD_...' in Configuration.h."
#endif

#undef BOARD_MKS_13
Expand Down

0 comments on commit aafbba3

Please sign in to comment.