浏览代码

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
 

正在加载...
取消
保存