Преглед изворни кода

Merge pull request #3797 from gudnimg/PFW-1454

PFW-1454 Send button to MMU on MMU SELFTEST FAILED screen
Guðni Már Gilbert пре 1 година
родитељ
комит
c87fe63112
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: