소스 검색

SOFT_RESET_VIA_SERIAL sanity-check

Scott Lahteine 4 년 전
부모
커밋
fbc7a3775a
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      Marlin/src/inc/SanityCheck.h

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

@@ -2215,8 +2215,11 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
2215 2215
 #endif
2216 2216
 
2217 2217
 /**
2218
- * Software Reset on Kill option
2218
+ * Software Reset options
2219 2219
  */
2220
+#if ENABLED(SOFT_RESET_VIA_SERIAL) && DISABLED(EMERGENCY_PARSER)
2221
+  #error "EMERGENCY_PARSER is required to activate SOFT_RESET_VIA_SERIAL."
2222
+#endif
2220 2223
 #if ENABLED(SOFT_RESET_ON_KILL) && !BUTTON_EXISTS(ENC)
2221 2224
   #error "An encoder button is required or SOFT_RESET_ON_KILL will reset the printer without notice!"
2222 2225
 #endif

Loading…
취소
저장