Extract G91 to messages.h/cpp
This commit is contained in:
parent
1319af8a12
commit
658df9d04d
|
|
@ -188,7 +188,7 @@ void lay1cal_meander_start(float layer_height, float extrusion_width)
|
|||
enquecommandf_P(extrude_fmt_Y, short_length, count_e(layer_height, extrusion_width, short_length));
|
||||
#endif //_NEW_FIRST_LAYER_CAL
|
||||
|
||||
enquecommand_P(PSTR("G91"));
|
||||
enquecommand_P(MSG_G91); //enable relative XYZ
|
||||
#ifndef NEW_FIRST_LAYER_CAL
|
||||
enquecommandf_P(extrude_fmt_X, (float)25*invert, count_e(layer_height, extrusion_width * 4.f, 25));
|
||||
enquecommandf_P(extrude_fmt_X, (float)25*invert, count_e(layer_height, extrusion_width * 2.f, 25));
|
||||
|
|
|
|||
|
|
@ -429,6 +429,7 @@ const char MSG_FILAMENT_RUNOUT_DETECTED[] PROGMEM_N1 = "Filament runout detected
|
|||
const char G1_E_F2700[] PROGMEM_N1 = "G1 E%-.3f F2700";
|
||||
const char G28W[] PROGMEM_N1 = "G28 W";
|
||||
const char MSG_G90[] PROGMEM_N1 = "G90";
|
||||
const char MSG_G91[] PROGMEM_N1 = "G91";
|
||||
const char MSG_M23[] PROGMEM_N1 = "M23 %s";
|
||||
const char MSG_M24[] PROGMEM_N1 = "M24";
|
||||
const char MSG_M83[] PROGMEM_N1 = "M83";
|
||||
|
|
|
|||
|
|
@ -431,6 +431,7 @@ extern const char MSG_FILAMENT_RUNOUT_DETECTED[];
|
|||
extern const char G1_E_F2700[];
|
||||
extern const char G28W[];
|
||||
extern const char MSG_G90[];
|
||||
extern const char MSG_G91[];
|
||||
extern const char MSG_M23[];
|
||||
extern const char MSG_M24[];
|
||||
extern const char MSG_M83[];
|
||||
|
|
|
|||
Loading…
Reference in New Issue