소스 검색

PFW-1454 Send button to MMU on MMU SELFTEST FAILED screen

Fixes an issue where the button on the MMU error screen doesn't do anything
when MMU SELFTEST FAILED is rendered
Guðni Már Gilbert 1 년 전
부모
커밋
fb530ce543
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      Firmware/mmu2_error_converter.cpp

+ 5 - 1
Firmware/mmu2_error_converter.cpp

@@ -255,7 +255,11 @@ Buttons ButtonAvailable(uint16_t ec) {
     case ERR_ELECTRICAL_PULLEY_TMC_DRIVER_SHORTED:
     case ERR_ELECTRICAL_SELECTOR_TMC_DRIVER_SHORTED:
     case ERR_ELECTRICAL_IDLER_TMC_DRIVER_SHORTED:
-        
+
+    case ERR_ELECTRICAL_PULLEY_SELFTEST_FAILED:
+    case ERR_ELECTRICAL_SELECTOR_SELFTEST_FAILED:
+    case ERR_ELECTRICAL_IDLER_SELFTEST_FAILED:
+
     case ERR_CONNECT_MMU_NOT_RESPONDING:
     case ERR_CONNECT_COMMUNICATION_ERROR: