Remove LcdCommands::Unknown3. Remove LcdCommands mapping to numbers, as it is not needed.
This commit is contained in:
parent
cbb92860d0
commit
51df6cdfdc
2 changed files with 9 additions and 14 deletions
|
@ -1543,11 +1543,6 @@ void lcd_commands()
|
|||
}
|
||||
}
|
||||
|
||||
if (lcd_commands_type == LcdCommands::Unknown3)
|
||||
{
|
||||
lcd_commands_type = LcdCommands::Idle;
|
||||
}
|
||||
|
||||
if (lcd_commands_type == LcdCommands::FarmModeConfirm) /// farm mode confirm
|
||||
{
|
||||
|
||||
|
|
|
@ -89,15 +89,15 @@ extern void lcd_diag_show_end_stops();
|
|||
|
||||
|
||||
// To be used in lcd_commands_type.
|
||||
enum class LcdCommands : uint8_t {
|
||||
Idle = 0,
|
||||
LoadFilament = 1,
|
||||
StopPrint = 2,
|
||||
Unknown3 = 3,
|
||||
FarmModeConfirm = 4,
|
||||
LongPause = 5,
|
||||
PidExtruder = 7,
|
||||
Layer1Cal = 8,
|
||||
enum class LcdCommands : uint8_t
|
||||
{
|
||||
Idle,
|
||||
LoadFilament,
|
||||
StopPrint,
|
||||
FarmModeConfirm,
|
||||
LongPause,
|
||||
PidExtruder,
|
||||
Layer1Cal,
|
||||
};
|
||||
|
||||
extern LcdCommands lcd_commands_type;
|
||||
|
|
Loading…
Reference in a new issue