Remove duplicate string Belt status
This commit is contained in:
parent
783e4bbaf9
commit
377a59c624
@ -16,6 +16,7 @@ const char MSG_BED_DONE[] PROGMEM_I1 = ISTR("Bed done"); ////
|
|||||||
const char MSG_BED_HEATING[] PROGMEM_I1 = ISTR("Bed Heating"); ////
|
const char MSG_BED_HEATING[] PROGMEM_I1 = ISTR("Bed Heating"); ////
|
||||||
const char MSG_BED_LEVELING_FAILED_POINT_LOW[] PROGMEM_I1 = ISTR("Bed leveling failed. Sensor didnt trigger. Debris on nozzle? Waiting for reset."); ////c=20 r=5
|
const char MSG_BED_LEVELING_FAILED_POINT_LOW[] PROGMEM_I1 = ISTR("Bed leveling failed. Sensor didnt trigger. Debris on nozzle? Waiting for reset."); ////c=20 r=5
|
||||||
const char MSG_BED_SKEW_OFFSET_DETECTION_FITTING_FAILED[] PROGMEM_I1 = ISTR("XYZ calibration failed. Please consult the manual."); ////c=20 r=8
|
const char MSG_BED_SKEW_OFFSET_DETECTION_FITTING_FAILED[] PROGMEM_I1 = ISTR("XYZ calibration failed. Please consult the manual."); ////c=20 r=8
|
||||||
|
const char MSG_BELT_STATUS[] PROGMEM_I1 = ISTR("Belt Status");////c=18
|
||||||
const char MSG_CALIBRATE_Z_AUTO[] PROGMEM_I1 = ISTR("Calibrating Z"); ////c=20 r=2
|
const char MSG_CALIBRATE_Z_AUTO[] PROGMEM_I1 = ISTR("Calibrating Z"); ////c=20 r=2
|
||||||
const char MSG_CARD_MENU[] PROGMEM_I1 = ISTR("Print from SD"); ////
|
const char MSG_CARD_MENU[] PROGMEM_I1 = ISTR("Print from SD"); ////
|
||||||
const char MSG_CONFIRM_NOZZLE_CLEAN[] PROGMEM_I1 = ISTR("Please clean the nozzle for calibration. Click when done."); ////c=20 r=8
|
const char MSG_CONFIRM_NOZZLE_CLEAN[] PROGMEM_I1 = ISTR("Please clean the nozzle for calibration. Click when done."); ////c=20 r=8
|
||||||
|
@ -17,6 +17,7 @@ extern const char MSG_BED_DONE[];
|
|||||||
extern const char MSG_BED_HEATING[];
|
extern const char MSG_BED_HEATING[];
|
||||||
extern const char MSG_BED_LEVELING_FAILED_POINT_LOW[];
|
extern const char MSG_BED_LEVELING_FAILED_POINT_LOW[];
|
||||||
extern const char MSG_BED_SKEW_OFFSET_DETECTION_FITTING_FAILED[];
|
extern const char MSG_BED_SKEW_OFFSET_DETECTION_FITTING_FAILED[];
|
||||||
|
extern const char MSG_BELT_STATUS[];
|
||||||
extern const char MSG_CALIBRATE_Z_AUTO[];
|
extern const char MSG_CALIBRATE_Z_AUTO[];
|
||||||
extern const char MSG_CARD_MENU[];
|
extern const char MSG_CARD_MENU[];
|
||||||
extern const char MSG_CONFIRM_NOZZLE_CLEAN[];
|
extern const char MSG_CONFIRM_NOZZLE_CLEAN[];
|
||||||
|
@ -1957,7 +1957,7 @@ static void lcd_menu_voltages()
|
|||||||
static void lcd_menu_belt_status()
|
static void lcd_menu_belt_status()
|
||||||
{
|
{
|
||||||
lcd_home();
|
lcd_home();
|
||||||
lcd_printf_P(PSTR("%S\n" " X %d\n" " Y %d"), _i("Belt status"), eeprom_read_word((uint16_t*)(EEPROM_BELTSTATUS_X)), eeprom_read_word((uint16_t*)(EEPROM_BELTSTATUS_Y)));
|
lcd_printf_P(PSTR("%S\n" " X %d\n" " Y %d"), _T(MSG_BELT_STATUS), eeprom_read_word((uint16_t*)(EEPROM_BELTSTATUS_X)), eeprom_read_word((uint16_t*)(EEPROM_BELTSTATUS_Y)));
|
||||||
menu_back_if_clicked();
|
menu_back_if_clicked();
|
||||||
}
|
}
|
||||||
#endif //TMC2130
|
#endif //TMC2130
|
||||||
@ -2035,7 +2035,7 @@ static void lcd_preheat_menu()
|
|||||||
//! If TMC2130 defined
|
//! If TMC2130 defined
|
||||||
//!
|
//!
|
||||||
//! @code{.unparsed}
|
//! @code{.unparsed}
|
||||||
//! | Belt status | MSG_MENU_BELT_STATUS
|
//! | Belt status | MSG_BELT_STATUS
|
||||||
//! @endcode
|
//! @endcode
|
||||||
//!
|
//!
|
||||||
//! @code{.unparsed}
|
//! @code{.unparsed}
|
||||||
@ -2159,7 +2159,7 @@ static void lcd_support_menu()
|
|||||||
MENU_ITEM_SUBMENU_P(_i("Sensor info"), lcd_menu_show_sensors_state);////MSG_INFO_SENSORS c=18 r=1
|
MENU_ITEM_SUBMENU_P(_i("Sensor info"), lcd_menu_show_sensors_state);////MSG_INFO_SENSORS c=18 r=1
|
||||||
|
|
||||||
#ifdef TMC2130
|
#ifdef TMC2130
|
||||||
MENU_ITEM_SUBMENU_P(_i("Belt status"), lcd_menu_belt_status);////MSG_MENU_BELT_STATUS c=18
|
MENU_ITEM_SUBMENU_P(_T(MSG_BELT_STATUS), lcd_menu_belt_status);////MSG_BELT_STATUS c=18
|
||||||
#endif //TMC2130
|
#endif //TMC2130
|
||||||
|
|
||||||
MENU_ITEM_SUBMENU_P(_i("Temperatures"), lcd_menu_temperatures);////MSG_MENU_TEMPERATURES c=18 r=1
|
MENU_ITEM_SUBMENU_P(_i("Temperatures"), lcd_menu_temperatures);////MSG_MENU_TEMPERATURES c=18 r=1
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
#MSG_BED
|
#MSG_BED
|
||||||
"Bed"
|
"Bed"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
|
|
||||||
#MSG_RECOVER_PRINT c=20 r=2
|
#MSG_RECOVER_PRINT c=20 r=2
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"Bed"
|
"Bed"
|
||||||
"Podlozka"
|
"Podlozka"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
"Stav remenu"
|
"Stav remenu"
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"Bed"
|
"Bed"
|
||||||
"Bett"
|
"Bett"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
"Gurtstatus"
|
"Gurtstatus"
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"Bed"
|
"Bed"
|
||||||
"Base"
|
"Base"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
"Estado de correa"
|
"Estado de correa"
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"Bed"
|
"Bed"
|
||||||
"Lit"
|
"Lit"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
"Statut courroie"
|
"Statut courroie"
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"Bed"
|
"Bed"
|
||||||
"Piano"
|
"Piano"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
"Stato cinghie"
|
"Stato cinghie"
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
|||||||
"Bed"
|
"Bed"
|
||||||
"Stol"
|
"Stol"
|
||||||
|
|
||||||
#MSG_MENU_BELT_STATUS c=18
|
#MSG_BELT_STATUS c=18
|
||||||
"Belt status"
|
"Belt status"
|
||||||
"Stan paskow"
|
"Stan paskow"
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user