From e2ab78d876137a5ed88d76c0c1cbf0f642713d9a Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 28 Sep 2018 16:12:19 -0500 Subject: [PATCH] Fix SERIAL_PORT_2 sanity check --- Marlin/src/inc/SanityCheck.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/inc/SanityCheck.h b/Marlin/src/inc/SanityCheck.h index 7c8447c00..b0d6758dc 100644 --- a/Marlin/src/inc/SanityCheck.h +++ b/Marlin/src/inc/SanityCheck.h @@ -365,7 +365,7 @@ #error "Set SERIAL_PORT to the port on your board. Usually this is 0." #endif -#if SERIAL_PORT_2 && NUM_SERIAL < 2 +#if defined(SERIAL_PORT_2) && NUM_SERIAL < 2 #error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue." #endif