Prevent MB false-positive on bad board name

This commit is contained in:
Scott Lahteine 2018-06-08 19:58:43 -05:00
parent 88314b8910
commit b9418439b9

View File

@ -226,6 +226,6 @@
#define BOARD_THE_BORG 1860 // THE-BORG (Power outputs: Hotend0, Hotend1, Bed, Fan)
#define MB(board) (MOTHERBOARD==BOARD_##board)
#define MB(board) (defined(BOARD_##board) && MOTHERBOARD==BOARD_##board)
#endif // __BOARDS_H