Prevent MB false-positive on bad board name
This commit is contained in:
parent
88314b8910
commit
b9418439b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user