Browse Source

Lang - text "TRIGGERED" removed from dictionary

Robert Pelnar 5 years ago
parent
commit
42f2a61416

+ 6 - 6
Firmware/Marlin_main.cpp

@@ -5779,7 +5779,7 @@ Sigma_Exit:
       #if defined(X_MIN_PIN) && X_MIN_PIN > -1
         SERIAL_PROTOCOLRPGM(_n("x_min: "));////MSG_X_MIN c=0 r=0
         if(READ(X_MIN_PIN)^X_MIN_ENDSTOP_INVERTING){
-          SERIAL_PROTOCOLRPGM(_T(MSG_ENDSTOP_HIT));
+          SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_HIT);
         }else{
           SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_OPEN);
         }
@@ -5788,7 +5788,7 @@ Sigma_Exit:
       #if defined(X_MAX_PIN) && X_MAX_PIN > -1
         SERIAL_PROTOCOLRPGM(_n("x_max: "));////MSG_X_MAX c=0 r=0
         if(READ(X_MAX_PIN)^X_MAX_ENDSTOP_INVERTING){
-          SERIAL_PROTOCOLRPGM(_T(MSG_ENDSTOP_HIT));
+          SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_HIT);
         }else{
           SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_OPEN);
         }
@@ -5797,7 +5797,7 @@ Sigma_Exit:
       #if defined(Y_MIN_PIN) && Y_MIN_PIN > -1
         SERIAL_PROTOCOLRPGM(_n("y_min: "));////MSG_Y_MIN c=0 r=0
         if(READ(Y_MIN_PIN)^Y_MIN_ENDSTOP_INVERTING){
-          SERIAL_PROTOCOLRPGM(_T(MSG_ENDSTOP_HIT));
+          SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_HIT);
         }else{
           SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_OPEN);
         }
@@ -5806,7 +5806,7 @@ Sigma_Exit:
       #if defined(Y_MAX_PIN) && Y_MAX_PIN > -1
         SERIAL_PROTOCOLRPGM(_n("y_max: "));////MSG_Y_MAX c=0 r=0
         if(READ(Y_MAX_PIN)^Y_MAX_ENDSTOP_INVERTING){
-          SERIAL_PROTOCOLRPGM(_T(MSG_ENDSTOP_HIT));
+          SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_HIT);
         }else{
           SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_OPEN);
         }
@@ -5815,7 +5815,7 @@ Sigma_Exit:
       #if defined(Z_MIN_PIN) && Z_MIN_PIN > -1
         SERIAL_PROTOCOLRPGM(MSG_Z_MIN);
         if(READ(Z_MIN_PIN)^Z_MIN_ENDSTOP_INVERTING){
-          SERIAL_PROTOCOLRPGM(_T(MSG_ENDSTOP_HIT));
+          SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_HIT);
         }else{
           SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_OPEN);
         }
@@ -5824,7 +5824,7 @@ Sigma_Exit:
       #if defined(Z_MAX_PIN) && Z_MAX_PIN > -1
         SERIAL_PROTOCOLRPGM(MSG_Z_MAX);
         if(READ(Z_MAX_PIN)^Z_MAX_ENDSTOP_INVERTING){
-          SERIAL_PROTOCOLRPGM(_T(MSG_ENDSTOP_HIT));
+          SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_HIT);
         }else{
           SERIAL_PROTOCOLRPGM(MSG_ENDSTOP_OPEN);
         }

+ 1 - 1
Firmware/messages.c

@@ -25,7 +25,6 @@ const char MSG_CRASH_DETECTED[] PROGMEM_I1 = ISTR("Crash detected."); ////c=20 r
 const char MSG_CRASHDETECT_NA[] PROGMEM_I1 = ISTR("Crash det.  [N/A]"); ////c=0 r=0
 const char MSG_CRASHDETECT_OFF[] PROGMEM_I1 = ISTR("Crash det.  [off]"); ////c=0 r=0
 const char MSG_CRASHDETECT_ON[] PROGMEM_I1 = ISTR("Crash det.   [on]"); ////c=0 r=0
-const char MSG_ENDSTOP_HIT[] PROGMEM_I1 = ISTR("TRIGGERED"); ////c=0 r=0
 const char MSG_ERROR[] PROGMEM_I1 = ISTR("ERROR:"); ////c=0 r=0
 const char MSG_EXTRUDER[] PROGMEM_I1 = ISTR("Extruder"); ////c=17 r=1
 const char MSG_FILAMENT[] PROGMEM_I1 = ISTR("Filament"); ////c=17 r=1
@@ -122,3 +121,4 @@ const char MSG_SD_OPEN_FILE_FAIL[] PROGMEM_N1 = "open failed, File: "; ////c=0 r
 const char MSG_ENDSTOP_OPEN[] PROGMEM_N1 = "open"; ////c=0 r=0
 const char MSG_POWERUP[] PROGMEM_N1 = "PowerUp"; ////c=0 r=0
 const char MSG_ERR_STOPPED[] PROGMEM_N1 = "Printer stopped due to errors. Fix the error and use M999 to restart. (Temperature is reset. Set it after restarting)"; ////c=0 r=0
+const char MSG_ENDSTOP_HIT[] PROGMEM_N1 = "TRIGGERED"; ////c=0 r=0

+ 1 - 1
Firmware/messages.h

@@ -26,7 +26,6 @@ extern const char MSG_CRASH_DETECTED[];
 extern const char MSG_CRASHDETECT_NA[];
 extern const char MSG_CRASHDETECT_OFF[];
 extern const char MSG_CRASHDETECT_ON[];
-extern const char MSG_ENDSTOP_HIT[];
 extern const char MSG_ERROR[];
 extern const char MSG_EXTRUDER[];
 extern const char MSG_FILAMENT[];
@@ -123,6 +122,7 @@ extern const char MSG_SD_OPEN_FILE_FAIL[];
 extern const char MSG_ENDSTOP_OPEN[];
 extern const char MSG_POWERUP[];
 extern const char MSG_ERR_STOPPED[];
+extern const char MSG_ENDSTOP_HIT[];
 
 #if defined(__cplusplus)
 }

+ 0 - 3
lang/lang_en.txt

@@ -859,9 +859,6 @@
 #
 "Total print time"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 

+ 0 - 4
lang/lang_en_cz.txt

@@ -1146,10 +1146,6 @@
 "Total print time"
 "Celkovy cas tisku"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-"AKTIVNI"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 "Ladit"

+ 0 - 4
lang/lang_en_de.txt

@@ -1146,10 +1146,6 @@
 "Total print time"
 "Gesamte Druckzeit"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-"AUSGELOEST"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 "Feineinstellung"

+ 0 - 4
lang/lang_en_es.txt

@@ -1146,10 +1146,6 @@
 "Total print time"
 "Tiempo total :"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-"ACTIVADO"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 "Ajustar"

+ 0 - 4
lang/lang_en_fr.txt

@@ -1146,10 +1146,6 @@
 "Total print time"
 "Temps total"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-"ACTIVE"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 "Regler"

+ 0 - 4
lang/lang_en_it.txt

@@ -1146,10 +1146,6 @@
 "Total print time"
 "Tempo di stampa totale"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-"ATTIVATO"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 "Regola"

+ 0 - 4
lang/lang_en_pl.txt

@@ -1146,10 +1146,6 @@
 "Total print time"
 "Calkowity czas druku"
 
-#MSG_ENDSTOP_HIT c=0 r=0
-"TRIGGERED"
-"AKTYWOWANO"
-
 #MSG_TUNE c=0 r=0
 "Tune"
 "Strojenie"