Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove lcd_menu_AutoLoadFilament #4763

Open
wants to merge 1 commit into
base: MK3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Firmware/messages.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ extern const char MSG_LOADING_COLOR [] PROGMEM_I1 = ISTR("Loading color"); ////M
extern const char MSG_CORRECTLY [] PROGMEM_I1 = ISTR("Changed correctly"); ////MSG_CORRECTLY c=19
extern const char MSG_NOT_LOADED [] PROGMEM_I1 = ISTR("Filament not loaded"); ////MSG_NOT_LOADED c=19
extern const char MSG_NOT_COLOR [] PROGMEM_I1 = ISTR("Color not correct"); ////MSG_NOT_COLOR c=19
extern const char MSG_AUTOLOADING_ENABLED [] PROGMEM_I1 = ISTR("Autoloading filament is active, just press the knob and insert filament..."); ////MSG_AUTOLOADING_ENABLED c=20 r=4
extern const char MSG_FILAMENT_USED [] PROGMEM_I1 = ISTR("Filament used"); ////MSG_FILAMENT_USED c=19
extern const char MSG_PRINT_TIME [] PROGMEM_I1 = ISTR("Print time"); ////MSG_PRINT_TIME c=19
extern const char MSG_TOTAL_FILAMENT [] PROGMEM_I1 = ISTR("Total filament"); ////MSG_TOTAL_FILAMENT c=19
Expand Down
1 change: 0 additions & 1 deletion Firmware/messages.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ extern const char MSG_LOADING_COLOR [];
extern const char MSG_CORRECTLY [];
extern const char MSG_NOT_LOADED [];
extern const char MSG_NOT_COLOR [];
extern const char MSG_AUTOLOADING_ENABLED [];
extern const char MSG_FILAMENT_USED [];
extern const char MSG_PRINT_TIME [];
extern const char MSG_TOTAL_FILAMENT [];
Expand Down
14 changes: 1 addition & 13 deletions Firmware/ultralcd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2283,14 +2283,6 @@ void lcd_load_filament_color_check()
}
}

#ifdef FILAMENT_SENSOR
static void lcd_menu_AutoLoadFilament()
{
lcd_display_message_fullscreen_nonBlocking_P(_T(MSG_AUTOLOADING_ENABLED));
menu_back_if_clicked();
}
#endif //FILAMENT_SENSOR

static void preheat_or_continue(FilamentAction action) {

setFilamentAction(action);
Expand Down Expand Up @@ -5323,11 +5315,7 @@ static void lcd_main_menu()
if (!fsensor.getAutoLoadEnabled()) {
MENU_ITEM_SUBMENU_P(_T(MSG_LOAD_FILAMENT), lcd_LoadFilament);
}
if (!fsensor.getFilamentPresent()) {
if (fsensor.getAutoLoadEnabled()) {
MENU_ITEM_SUBMENU_P(_T(MSG_AUTOLOAD_FILAMENT), lcd_menu_AutoLoadFilament);
}
} else {
if (fsensor.getFilamentPresent()) {
MENU_ITEM_SUBMENU_P(_T(MSG_UNLOAD_FILAMENT), lcd_unLoadFilament);
}
} else {
Expand Down
6 changes: 0 additions & 6 deletions lang/po/Firmware.pot
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ msgstr ""
msgid "AutoLoad filament"
msgstr ""

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
8 changes: 0 additions & 8 deletions lang/po/Firmware_cs.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ msgstr "Automat."
msgid "AutoLoad filament"
msgstr "AutoZavedení fil."

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Automatické zavádění filamentu aktivní, stiskněte tlačítko a vložte "
"filament."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
8 changes: 0 additions & 8 deletions lang/po/Firmware_de.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ msgstr "Auto Leist"
msgid "AutoLoad filament"
msgstr "AutoLaden Filament"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Automatisches Fila- ment Laden ist aktiv , Knopf drücken und Filament "
"einlegen..."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_es.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Encendido"
msgid "AutoLoad filament"
msgstr "Carga auto. filam."

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"La carga automática está activada, pulse el dial e inserte el filamento..."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Puiss.auto"
msgid "AutoLoad filament"
msgstr "Autocharge du fil."

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Chargement auto. du fil. active, appuyez sur le bouton et insérez le fil."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
6 changes: 0 additions & 6 deletions lang/po/Firmware_hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ msgstr "Auto napaj"
msgid "AutoLoad filament"
msgstr "Autopunj filamenta"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr "Auto punjenje fil. je aktivno, pritisnite gumb i umetnite fil.."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
6 changes: 0 additions & 6 deletions lang/po/Firmware_hu.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,12 +99,6 @@ msgstr "Auto ero"
msgid "AutoLoad filament"
msgstr "Fil. auto.betolt."

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr "Autom. betoltes be, nyomd meg a gombot es helyzed be a filamentet."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_it.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Automatico"
msgid "AutoLoad filament"
msgstr "Autocaric. filam."

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Caricamento automatico attivo, premi la manopola e inserisci il filam."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Auto power"
msgid "AutoLoad filament"
msgstr "Autoladen filament"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Automatisch laden van flament is actief, druk de knop en laad filament..."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_no.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Autostyrke"
msgid "AutoLoad filament"
msgstr "AutoLast filament"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Autolasting av fil. er aktivert. Trykk på knappen og sett inn filament..."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_pl.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Automatycz"
msgid "AutoLoad filament"
msgstr "Autoładowanie fil."

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Autoładowanie filamentu włączone, naciśnij pokrętło i wsuń filament..."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
8 changes: 0 additions & 8 deletions lang/po/Firmware_ro.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ msgstr "Put. auto"
msgid "AutoLoad filament"
msgstr "Înc.auto filament"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Încărcarea automată de filament pornită; apăsați butonul și încărcați "
"filamentul"

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_sk.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Automat."
msgid "AutoLoad filament"
msgstr "Autozav. filamentu"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Autom. zavedenie filamentu aktívne, stlačte tlačidlo a vložte filament..."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down
7 changes: 0 additions & 7 deletions lang/po/Firmware_sv.po
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,6 @@ msgstr "Auto kraft"
msgid "AutoLoad filament"
msgstr "Autoladda filament"

#. MSG_AUTOLOADING_ENABLED c=20 r=4
#: ../../Firmware/messages.cpp:257 ../../Firmware/ultralcd.cpp:2289
msgid ""
"Autoloading filament is active, just press the knob and insert filament..."
msgstr ""
"Autoladdning av filament är aktiv, tryck på knappen och sätt i filament."

#. MSG_PROGRESS_AVOID_GRIND c=20
#: ../../Firmware/mmu2_progress_converter.cpp:16
#: ../../Firmware/mmu2_progress_converter.cpp:42
Expand Down