Add 1mm nozzle

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

View File

@ -4633,6 +4633,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;
@ -4654,6 +4658,7 @@ do\
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_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

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