Skip to content

Commit

Permalink
Lang - text "TRIGGERED" removed from dictionary
Browse files Browse the repository at this point in the history
  • Loading branch information
XPila committed Nov 22, 2018
1 parent e913154 commit 42f2a61
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 35 deletions.
12 changes: 6 additions & 6 deletions Firmware/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5779,7 +5779,7 @@ SERIAL_PROTOCOLPGM("\n\n");
#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);
}
Expand All @@ -5788,7 +5788,7 @@ SERIAL_PROTOCOLPGM("\n\n");
#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);
}
Expand All @@ -5797,7 +5797,7 @@ SERIAL_PROTOCOLPGM("\n\n");
#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);
}
Expand All @@ -5806,7 +5806,7 @@ SERIAL_PROTOCOLPGM("\n\n");
#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);
}
Expand All @@ -5815,7 +5815,7 @@ SERIAL_PROTOCOLPGM("\n\n");
#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);
}
Expand All @@ -5824,7 +5824,7 @@ SERIAL_PROTOCOLPGM("\n\n");
#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);
}
Expand Down
2 changes: 1 addition & 1 deletion Firmware/messages.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion Firmware/messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down Expand Up @@ -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)
}
Expand Down
3 changes: 0 additions & 3 deletions lang/lang_en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,6 @@
#
"Total print time"

#MSG_ENDSTOP_HIT c=0 r=0
"TRIGGERED"

#MSG_TUNE c=0 r=0
"Tune"

Expand Down
4 changes: 0 additions & 4 deletions lang/lang_en_cz.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions lang/lang_en_de.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions lang/lang_en_es.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions lang/lang_en_fr.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions lang/lang_en_it.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions lang/lang_en_pl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 42f2a61

Please sign in to comment.