瀏覽代碼

Fix SERIAL_PORT_2 sanity check

Scott Lahteine 6 年之前
父節點
當前提交
e2ab78d876
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      Marlin/src/inc/SanityCheck.h

+ 1
- 1
Marlin/src/inc/SanityCheck.h 查看文件

@@ -365,7 +365,7 @@
365 365
   #error "Set SERIAL_PORT to the port on your board. Usually this is 0."
366 366
 #endif
367 367
 
368
-#if SERIAL_PORT_2 && NUM_SERIAL < 2
368
+#if defined(SERIAL_PORT_2) && NUM_SERIAL < 2
369 369
   #error "SERIAL_PORT_2 is not supported for your MOTHERBOARD. Disable it to continue."
370 370
 #endif
371 371
 

Loading…
取消
儲存