Remove LcdCommands::Unknown3. Remove LcdCommands mapping to numbers, as it is not needed.
This commit is contained in:
parent
cbb92860d0
commit
51df6cdfdc
|
|
@ -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
|
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.
|
// To be used in lcd_commands_type.
|
||||||
enum class LcdCommands : uint8_t {
|
enum class LcdCommands : uint8_t
|
||||||
Idle = 0,
|
{
|
||||||
LoadFilament = 1,
|
Idle,
|
||||||
StopPrint = 2,
|
LoadFilament,
|
||||||
Unknown3 = 3,
|
StopPrint,
|
||||||
FarmModeConfirm = 4,
|
FarmModeConfirm,
|
||||||
LongPause = 5,
|
LongPause,
|
||||||
PidExtruder = 7,
|
PidExtruder,
|
||||||
Layer1Cal = 8,
|
Layer1Cal,
|
||||||
};
|
};
|
||||||
|
|
||||||
extern LcdCommands lcd_commands_type;
|
extern LcdCommands lcd_commands_type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue