소스 검색

Sanity check SERIAL_PORT

Addressing #7400
Scott Lahteine 7 년 전
부모
커밋
f64d300cfd
No account linked to committer's email address
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/inc/SanityCheck.h 파일 보기

@@ -281,6 +281,10 @@
281 281
   #error "SERIAL_XON_XOFF and SERIAL_STATS_* features not supported on USB-native AVR devices."
282 282
 #endif
283 283
 
284
+#if SERIAL_PORT > 7
285
+  #error "Set SERIAL_PORT to the port on your board. Usually this is 0."
286
+#endif
287
+
284 288
 /**
285 289
  * Dual Stepper Drivers
286 290
  */

Loading…
취소
저장