Add 1mm nozzle

This commit is contained in:
Przemek Grondek 2021-08-24 21:02:50 +02:00
parent caca7bb9b8
commit ffcd0dd1ba
2 changed files with 7 additions and 1 deletions

View File

@ -5396,6 +5396,10 @@ static void lcd_nozzle_diameter_cycle(void) {
nDiameter=800;
break;
case ClNozzleDiameter::_Diameter_800:
oNozzleDiameter=ClNozzleDiameter::_Diameter_1000;
nDiameter=1000;
break;
case ClNozzleDiameter::_Diameter_1000:
oNozzleDiameter=ClNozzleDiameter::_Diameter_250;
nDiameter=250;
break;
@ -5416,7 +5420,8 @@ do\
case ClNozzleDiameter::_Diameter_250: fNozzleDiam = 0.25f; break;\
case ClNozzleDiameter::_Diameter_400: fNozzleDiam = 0.4f; break;\
case ClNozzleDiameter::_Diameter_600: fNozzleDiam = 0.6f; break;\
case ClNozzleDiameter::_Diameter_800: fNozzleDiam = 0.8f; break;\
case ClNozzleDiameter::_Diameter_800: fNozzleDiam = 0.8f; break; \
case ClNozzleDiameter::_Diameter_1000: fNozzleDiam = 1.0f; break;\
default: fNozzleDiam = 0.4f; break;\
}\
MENU_ITEM_TOGGLE(_T(MSG_NOZZLE_DIAMETER), ftostr12ns(fNozzleDiam), lcd_nozzle_diameter_cycle);\

View File

@ -52,6 +52,7 @@ enum class ClNozzleDiameter:uint_least8_t
_Diameter_400=40,
_Diameter_600=60,
_Diameter_800=80,
_Diameter_1000=100,
_Diameter_Undef=EEPROM_EMPTY_VALUE
};