|
@@ -2107,7 +2107,7 @@ static void clean_up_after_endstop_or_probe_move() {
|
2107
|
2107
|
do_blocking_move_to_xy(x - (X_PROBE_OFFSET_FROM_EXTRUDER), y - (Y_PROBE_OFFSET_FROM_EXTRUDER));
|
2108
|
2108
|
|
2109
|
2109
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
2110
|
|
- if (DEBUGGING(LEVELING)) SERIAL_ECHOLNPGM("> deploy_z_probe");
|
|
2110
|
+ if (DEBUGGING(LEVELING)) SERIAL_ECHOPGM("> ");
|
2111
|
2111
|
#endif
|
2112
|
2112
|
deploy_z_probe();
|
2113
|
2113
|
|
|
@@ -2543,7 +2543,7 @@ void unknown_command_error() {
|
2543
|
2543
|
SERIAL_ECHO_START;
|
2544
|
2544
|
SERIAL_ECHOPGM(MSG_UNKNOWN_COMMAND);
|
2545
|
2545
|
SERIAL_ECHO(current_command);
|
2546
|
|
- SERIAL_ECHOPGM("\"\n");
|
|
2546
|
+ SERIAL_ECHOLNPGM("\"");
|
2547
|
2547
|
}
|
2548
|
2548
|
|
2549
|
2549
|
#if ENABLED(HOST_KEEPALIVE_FEATURE)
|
|
@@ -3187,19 +3187,11 @@ inline void gcode_G28() {
|
3187
|
3187
|
switch (state) {
|
3188
|
3188
|
case MeshReport:
|
3189
|
3189
|
if (mbl.has_mesh()) {
|
3190
|
|
- SERIAL_PROTOCOLPGM("State: ");
|
3191
|
|
- if (mbl.active())
|
3192
|
|
- SERIAL_PROTOCOLPGM("On");
|
3193
|
|
- else
|
3194
|
|
- SERIAL_PROTOCOLPGM("Off");
|
3195
|
|
- SERIAL_PROTOCOLPGM("\nNum X,Y: ");
|
3196
|
|
- SERIAL_PROTOCOL(MESH_NUM_X_POINTS);
|
3197
|
|
- SERIAL_PROTOCOLCHAR(',');
|
3198
|
|
- SERIAL_PROTOCOL(MESH_NUM_Y_POINTS);
|
3199
|
|
- SERIAL_PROTOCOLPGM("\nZ search height: ");
|
3200
|
|
- SERIAL_PROTOCOL(MESH_HOME_SEARCH_Z);
|
3201
|
|
- SERIAL_PROTOCOLPGM("\nZ offset: ");
|
3202
|
|
- SERIAL_PROTOCOL_F(mbl.z_offset, 5);
|
|
3190
|
+ SERIAL_PROTOCOLPAIR("State: ", mbl.active() ? "On" : "Off");
|
|
3191
|
+ SERIAL_PROTOCOLPAIR("\nNum X,Y: ", MESH_NUM_X_POINTS);
|
|
3192
|
+ SERIAL_PROTOCOLCHAR(','); SERIAL_PROTOCOL(MESH_NUM_Y_POINTS);
|
|
3193
|
+ SERIAL_PROTOCOLPAIR("\nZ search height: ", MESH_HOME_SEARCH_Z);
|
|
3194
|
+ SERIAL_PROTOCOLPGM("\nZ offset: "); SERIAL_PROTOCOL_F(mbl.z_offset, 5);
|
3203
|
3195
|
SERIAL_PROTOCOLLNPGM("\nMeasured points:");
|
3204
|
3196
|
for (py = 0; py < MESH_NUM_Y_POINTS; py++) {
|
3205
|
3197
|
for (px = 0; px < MESH_NUM_X_POINTS; px++) {
|
|
@@ -3268,30 +3260,30 @@ inline void gcode_G28() {
|
3268
|
3260
|
if (code_seen('X')) {
|
3269
|
3261
|
px = code_value_int() - 1;
|
3270
|
3262
|
if (px < 0 || px >= MESH_NUM_X_POINTS) {
|
3271
|
|
- SERIAL_PROTOCOLPGM("X out of range (1-" STRINGIFY(MESH_NUM_X_POINTS) ").\n");
|
|
3263
|
+ SERIAL_PROTOCOLLNPGM("X out of range (1-" STRINGIFY(MESH_NUM_X_POINTS) ").");
|
3272
|
3264
|
return;
|
3273
|
3265
|
}
|
3274
|
3266
|
}
|
3275
|
3267
|
else {
|
3276
|
|
- SERIAL_PROTOCOLPGM("X not entered.\n");
|
|
3268
|
+ SERIAL_PROTOCOLLNPGM("X not entered.");
|
3277
|
3269
|
return;
|
3278
|
3270
|
}
|
3279
|
3271
|
if (code_seen('Y')) {
|
3280
|
3272
|
py = code_value_int() - 1;
|
3281
|
3273
|
if (py < 0 || py >= MESH_NUM_Y_POINTS) {
|
3282
|
|
- SERIAL_PROTOCOLPGM("Y out of range (1-" STRINGIFY(MESH_NUM_Y_POINTS) ").\n");
|
|
3274
|
+ SERIAL_PROTOCOLLNPGM("Y out of range (1-" STRINGIFY(MESH_NUM_Y_POINTS) ").");
|
3283
|
3275
|
return;
|
3284
|
3276
|
}
|
3285
|
3277
|
}
|
3286
|
3278
|
else {
|
3287
|
|
- SERIAL_PROTOCOLPGM("Y not entered.\n");
|
|
3279
|
+ SERIAL_PROTOCOLLNPGM("Y not entered.");
|
3288
|
3280
|
return;
|
3289
|
3281
|
}
|
3290
|
3282
|
if (code_seen('Z')) {
|
3291
|
3283
|
z = code_value_axis_units(Z_AXIS);
|
3292
|
3284
|
}
|
3293
|
3285
|
else {
|
3294
|
|
- SERIAL_PROTOCOLPGM("Z not entered.\n");
|
|
3286
|
+ SERIAL_PROTOCOLLNPGM("Z not entered.");
|
3295
|
3287
|
return;
|
3296
|
3288
|
}
|
3297
|
3289
|
mbl.z_values[py][px] = z;
|
|
@@ -3302,7 +3294,7 @@ inline void gcode_G28() {
|
3302
|
3294
|
z = code_value_axis_units(Z_AXIS);
|
3303
|
3295
|
}
|
3304
|
3296
|
else {
|
3305
|
|
- SERIAL_PROTOCOLPGM("Z not entered.\n");
|
|
3297
|
+ SERIAL_PROTOCOLLNPGM("Z not entered.");
|
3306
|
3298
|
return;
|
3307
|
3299
|
}
|
3308
|
3300
|
mbl.z_offset = z;
|
|
@@ -3397,8 +3389,8 @@ inline void gcode_G28() {
|
3397
|
3389
|
#endif
|
3398
|
3390
|
|
3399
|
3391
|
if (verbose_level > 0) {
|
3400
|
|
- SERIAL_PROTOCOLPGM("G29 Auto Bed Leveling\n");
|
3401
|
|
- if (dryrun) SERIAL_ECHOLNPGM("Running in DRY-RUN mode");
|
|
3392
|
+ SERIAL_PROTOCOLLNPGM("G29 Auto Bed Leveling");
|
|
3393
|
+ if (dryrun) SERIAL_PROTOCOLLNPGM("Running in DRY-RUN mode");
|
3402
|
3394
|
}
|
3403
|
3395
|
|
3404
|
3396
|
int auto_bed_leveling_grid_points = AUTO_BED_LEVELING_GRID_POINTS;
|
|
@@ -3406,7 +3398,7 @@ inline void gcode_G28() {
|
3406
|
3398
|
#if DISABLED(DELTA)
|
3407
|
3399
|
if (code_seen('P')) auto_bed_leveling_grid_points = code_value_int();
|
3408
|
3400
|
if (auto_bed_leveling_grid_points < 2) {
|
3409
|
|
- SERIAL_PROTOCOLPGM("?Number of probed (P)oints is implausible (2 minimum).\n");
|
|
3401
|
+ SERIAL_PROTOCOLLNPGM("?Number of probed (P)oints is implausible (2 minimum).");
|
3410
|
3402
|
return;
|
3411
|
3403
|
}
|
3412
|
3404
|
#endif
|
|
@@ -3637,17 +3629,17 @@ inline void gcode_G28() {
|
3637
|
3629
|
// Show the Topography map if enabled
|
3638
|
3630
|
if (do_topography_map) {
|
3639
|
3631
|
|
3640
|
|
- SERIAL_PROTOCOLPGM(" \nBed Height Topography: \n");
|
3641
|
|
- SERIAL_PROTOCOLPGM(" +--- BACK --+\n");
|
3642
|
|
- SERIAL_PROTOCOLPGM(" | |\n");
|
3643
|
|
- SERIAL_PROTOCOLPGM(" L | (+) | R\n");
|
3644
|
|
- SERIAL_PROTOCOLPGM(" E | | I\n");
|
3645
|
|
- SERIAL_PROTOCOLPGM(" F | (-) N (+) | G\n");
|
3646
|
|
- SERIAL_PROTOCOLPGM(" T | | H\n");
|
3647
|
|
- SERIAL_PROTOCOLPGM(" | (-) | T\n");
|
3648
|
|
- SERIAL_PROTOCOLPGM(" | |\n");
|
3649
|
|
- SERIAL_PROTOCOLPGM(" O-- FRONT --+\n");
|
3650
|
|
- SERIAL_PROTOCOLPGM(" (0,0)\n");
|
|
3632
|
+ SERIAL_PROTOCOLLNPGM("\nBed Height Topography:\n"
|
|
3633
|
+ " +--- BACK --+\n"
|
|
3634
|
+ " | |\n"
|
|
3635
|
+ " L | (+) | R\n"
|
|
3636
|
+ " E | | I\n"
|
|
3637
|
+ " F | (-) N (+) | G\n"
|
|
3638
|
+ " T | | H\n"
|
|
3639
|
+ " | (-) | T\n"
|
|
3640
|
+ " | |\n"
|
|
3641
|
+ " O-- FRONT --+\n"
|
|
3642
|
+ " (0,0)");
|
3651
|
3643
|
|
3652
|
3644
|
float min_diff = 999;
|
3653
|
3645
|
|
|
@@ -3674,7 +3666,7 @@ inline void gcode_G28() {
|
3674
|
3666
|
} // yy
|
3675
|
3667
|
SERIAL_EOL;
|
3676
|
3668
|
if (verbose_level > 3) {
|
3677
|
|
- SERIAL_PROTOCOLPGM(" \nCorrected Bed Height vs. Bed Topology: \n");
|
|
3669
|
+ SERIAL_PROTOCOLLNPGM("\nCorrected Bed Height vs. Bed Topology:");
|
3678
|
3670
|
|
3679
|
3671
|
for (int yy = auto_bed_leveling_grid_points - 1; yy >= 0; yy--) {
|
3680
|
3672
|
for (int xx = 0; xx < auto_bed_leveling_grid_points; xx++) {
|
|
@@ -3703,7 +3695,7 @@ inline void gcode_G28() {
|
3703
|
3695
|
|
3704
|
3696
|
#if DISABLED(DELTA)
|
3705
|
3697
|
if (verbose_level > 0)
|
3706
|
|
- planner.bed_level_matrix.debug(" \n\nBed Level Correction Matrix:");
|
|
3698
|
+ planner.bed_level_matrix.debug("\n\nBed Level Correction Matrix:");
|
3707
|
3699
|
|
3708
|
3700
|
if (!dryrun) {
|
3709
|
3701
|
/**
|
|
@@ -3747,7 +3739,7 @@ inline void gcode_G28() {
|
3747
|
3739
|
#ifdef Z_PROBE_END_SCRIPT
|
3748
|
3740
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
3749
|
3741
|
if (DEBUGGING(LEVELING)) {
|
3750
|
|
- SERIAL_ECHO("Z Probe End Script: ");
|
|
3742
|
+ SERIAL_ECHOPGM("Z Probe End Script: ");
|
3751
|
3743
|
SERIAL_ECHOLNPGM(Z_PROBE_END_SCRIPT);
|
3752
|
3744
|
}
|
3753
|
3745
|
#endif
|
|
@@ -4130,16 +4122,16 @@ inline void gcode_M42() {
|
4130
|
4122
|
|
4131
|
4123
|
int8_t verbose_level = code_seen('V') ? code_value_byte() : 1;
|
4132
|
4124
|
if (verbose_level < 0 || verbose_level > 4) {
|
4133
|
|
- SERIAL_PROTOCOLPGM("?Verbose Level not plausible (0-4).\n");
|
|
4125
|
+ SERIAL_PROTOCOLLNPGM("?Verbose Level not plausible (0-4).");
|
4134
|
4126
|
return;
|
4135
|
4127
|
}
|
4136
|
4128
|
|
4137
|
4129
|
if (verbose_level > 0)
|
4138
|
|
- SERIAL_PROTOCOLPGM("M48 Z-Probe Repeatability test\n");
|
|
4130
|
+ SERIAL_PROTOCOLLNPGM("M48 Z-Probe Repeatability test");
|
4139
|
4131
|
|
4140
|
4132
|
int8_t n_samples = code_seen('P') ? code_value_byte() : 10;
|
4141
|
4133
|
if (n_samples < 4 || n_samples > 50) {
|
4142
|
|
- SERIAL_PROTOCOLPGM("?Sample size not plausible (4-50).\n");
|
|
4134
|
+ SERIAL_PROTOCOLLNPGM("?Sample size not plausible (4-50).");
|
4143
|
4135
|
return;
|
4144
|
4136
|
}
|
4145
|
4137
|
|
|
@@ -4168,7 +4160,7 @@ inline void gcode_M42() {
|
4168
|
4160
|
}
|
4169
|
4161
|
#else
|
4170
|
4162
|
if (sqrt(X_probe_location * X_probe_location + Y_probe_location * Y_probe_location) > DELTA_PROBEABLE_RADIUS) {
|
4171
|
|
- SERIAL_PROTOCOLPGM("? (X,Y) location outside of probeable radius.\n");
|
|
4163
|
+ SERIAL_PROTOCOLLNPGM("? (X,Y) location outside of probeable radius.");
|
4172
|
4164
|
return;
|
4173
|
4165
|
}
|
4174
|
4166
|
#endif
|
|
@@ -4176,7 +4168,7 @@ inline void gcode_M42() {
|
4176
|
4168
|
bool seen_L = code_seen('L');
|
4177
|
4169
|
uint8_t n_legs = seen_L ? code_value_byte() : 0;
|
4178
|
4170
|
if (n_legs > 15) {
|
4179
|
|
- SERIAL_PROTOCOLPGM("?Number of legs in movement not plausible (0-15).\n");
|
|
4171
|
+ SERIAL_PROTOCOLLNPGM("?Number of legs in movement not plausible (0-15).");
|
4180
|
4172
|
return;
|
4181
|
4173
|
}
|
4182
|
4174
|
if (n_legs == 1) n_legs = 2;
|
|
@@ -4190,7 +4182,7 @@ inline void gcode_M42() {
|
4190
|
4182
|
* we don't want to use that as a starting point for each probe.
|
4191
|
4183
|
*/
|
4192
|
4184
|
if (verbose_level > 2)
|
4193
|
|
- SERIAL_PROTOCOLPGM("Positioning the probe...\n");
|
|
4185
|
+ SERIAL_PROTOCOLLNPGM("Positioning the probe...");
|
4194
|
4186
|
|
4195
|
4187
|
#if ENABLED(DELTA)
|
4196
|
4188
|
// we don't do bed level correction in M48 because we want the raw data when we probe
|
|
@@ -4223,9 +4215,9 @@ inline void gcode_M42() {
|
4223
|
4215
|
if (verbose_level > 3) {
|
4224
|
4216
|
SERIAL_ECHOPAIR("Starting radius: ", radius);
|
4225
|
4217
|
SERIAL_ECHOPAIR(" angle: ", angle);
|
4226
|
|
- SERIAL_ECHO(" Direction: ");
|
4227
|
|
- if (dir > 0) SERIAL_ECHO("Counter ");
|
4228
|
|
- SERIAL_ECHOLN("Clockwise");
|
|
4218
|
+ SERIAL_ECHOPGM(" Direction: ");
|
|
4219
|
+ if (dir > 0) SERIAL_ECHOPGM("Counter-");
|
|
4220
|
+ SERIAL_ECHOLNPGM("Clockwise");
|
4229
|
4221
|
}
|
4230
|
4222
|
|
4231
|
4223
|
for (uint8_t l = 0; l < n_legs - 1; l++) {
|
|
@@ -4268,10 +4260,10 @@ inline void gcode_M42() {
|
4268
|
4260
|
}
|
4269
|
4261
|
#endif
|
4270
|
4262
|
if (verbose_level > 3) {
|
4271
|
|
- SERIAL_PROTOCOL("Going to:");
|
4272
|
|
- SERIAL_ECHOPAIR("x: ", X_current);
|
4273
|
|
- SERIAL_ECHOPAIR("y: ", Y_current);
|
4274
|
|
- SERIAL_ECHOPAIR(" z: ", current_position[Z_AXIS]);
|
|
4263
|
+ SERIAL_PROTOCOLPGM("Going to:");
|
|
4264
|
+ SERIAL_ECHOPAIR(" X", X_current);
|
|
4265
|
+ SERIAL_ECHOPAIR(" Y", Y_current);
|
|
4266
|
+ SERIAL_ECHOPAIR(" Z", current_position[Z_AXIS]);
|
4275
|
4267
|
SERIAL_EOL;
|
4276
|
4268
|
}
|
4277
|
4269
|
do_blocking_move_to_xy(X_current, Y_current);
|
|
@@ -5542,9 +5534,9 @@ inline void gcode_M226() {
|
5542
|
5534
|
}
|
5543
|
5535
|
else if (servo_index >= 0) {
|
5544
|
5536
|
SERIAL_ECHO_START;
|
5545
|
|
- SERIAL_ECHO(" Servo ");
|
|
5537
|
+ SERIAL_ECHOPGM(" Servo ");
|
5546
|
5538
|
SERIAL_ECHO(servo_index);
|
5547
|
|
- SERIAL_ECHO(": ");
|
|
5539
|
+ SERIAL_ECHOPGM(": ");
|
5548
|
5540
|
SERIAL_ECHOLN(servo[servo_index].read());
|
5549
|
5541
|
}
|
5550
|
5542
|
}
|
|
@@ -5601,17 +5593,17 @@ inline void gcode_M226() {
|
5601
|
5593
|
thermalManager.updatePID();
|
5602
|
5594
|
SERIAL_ECHO_START;
|
5603
|
5595
|
#if ENABLED(PID_PARAMS_PER_HOTEND)
|
5604
|
|
- SERIAL_ECHO(" e:"); // specify extruder in serial output
|
|
5596
|
+ SERIAL_ECHOPGM(" e:"); // specify extruder in serial output
|
5605
|
5597
|
SERIAL_ECHO(e);
|
5606
|
5598
|
#endif // PID_PARAMS_PER_HOTEND
|
5607
|
|
- SERIAL_ECHO(" p:");
|
|
5599
|
+ SERIAL_ECHOPGM(" p:");
|
5608
|
5600
|
SERIAL_ECHO(PID_PARAM(Kp, e));
|
5609
|
|
- SERIAL_ECHO(" i:");
|
|
5601
|
+ SERIAL_ECHOPGM(" i:");
|
5610
|
5602
|
SERIAL_ECHO(unscalePID_i(PID_PARAM(Ki, e)));
|
5611
|
|
- SERIAL_ECHO(" d:");
|
|
5603
|
+ SERIAL_ECHOPGM(" d:");
|
5612
|
5604
|
SERIAL_ECHO(unscalePID_d(PID_PARAM(Kd, e)));
|
5613
|
5605
|
#if ENABLED(PID_ADD_EXTRUSION_RATE)
|
5614
|
|
- SERIAL_ECHO(" c:");
|
|
5606
|
+ SERIAL_ECHOPGM(" c:");
|
5615
|
5607
|
//Kc does not have scaling applied above, or in resetting defaults
|
5616
|
5608
|
SERIAL_ECHO(PID_PARAM(Kc, e));
|
5617
|
5609
|
#endif
|
|
@@ -5635,11 +5627,11 @@ inline void gcode_M226() {
|
5635
|
5627
|
thermalManager.updatePID();
|
5636
|
5628
|
|
5637
|
5629
|
SERIAL_ECHO_START;
|
5638
|
|
- SERIAL_ECHO(" p:");
|
|
5630
|
+ SERIAL_ECHOPGM(" p:");
|
5639
|
5631
|
SERIAL_ECHO(thermalManager.bedKp);
|
5640
|
|
- SERIAL_ECHO(" i:");
|
|
5632
|
+ SERIAL_ECHOPGM(" i:");
|
5641
|
5633
|
SERIAL_ECHO(unscalePID_i(thermalManager.bedKi));
|
5642
|
|
- SERIAL_ECHO(" d:");
|
|
5634
|
+ SERIAL_ECHOPGM(" d:");
|
5643
|
5635
|
SERIAL_ECHOLN(unscalePID_d(thermalManager.bedKd));
|
5644
|
5636
|
}
|
5645
|
5637
|
|
|
@@ -5739,7 +5731,7 @@ inline void gcode_M303() {
|
5739
|
5731
|
#if ENABLED(SCARA)
|
5740
|
5732
|
bool SCARA_move_to_cal(uint8_t delta_x, uint8_t delta_y) {
|
5741
|
5733
|
//SoftEndsEnabled = false; // Ignore soft endstops during calibration
|
5742
|
|
- //SERIAL_ECHOLN(" Soft endstops disabled ");
|
|
5734
|
+ //SERIAL_ECHOLNPGM(" Soft endstops disabled");
|
5743
|
5735
|
if (IsRunning()) {
|
5744
|
5736
|
//gcode_get_destination(); // For X Y Z E F
|
5745
|
5737
|
delta[X_AXIS] = delta_x;
|
|
@@ -5758,7 +5750,7 @@ inline void gcode_M303() {
|
5758
|
5750
|
* M360: SCARA calibration: Move to cal-position ThetaA (0 deg calibration)
|
5759
|
5751
|
*/
|
5760
|
5752
|
inline bool gcode_M360() {
|
5761
|
|
- SERIAL_ECHOLN(" Cal: Theta 0 ");
|
|
5753
|
+ SERIAL_ECHOLNPGM(" Cal: Theta 0");
|
5762
|
5754
|
return SCARA_move_to_cal(0, 120);
|
5763
|
5755
|
}
|
5764
|
5756
|
|
|
@@ -5766,7 +5758,7 @@ inline void gcode_M303() {
|
5766
|
5758
|
* M361: SCARA calibration: Move to cal-position ThetaB (90 deg calibration - steps per degree)
|
5767
|
5759
|
*/
|
5768
|
5760
|
inline bool gcode_M361() {
|
5769
|
|
- SERIAL_ECHOLN(" Cal: Theta 90 ");
|
|
5761
|
+ SERIAL_ECHOLNPGM(" Cal: Theta 90");
|
5770
|
5762
|
return SCARA_move_to_cal(90, 130);
|
5771
|
5763
|
}
|
5772
|
5764
|
|
|
@@ -5774,7 +5766,7 @@ inline void gcode_M303() {
|
5774
|
5766
|
* M362: SCARA calibration: Move to cal-position PsiA (0 deg calibration)
|
5775
|
5767
|
*/
|
5776
|
5768
|
inline bool gcode_M362() {
|
5777
|
|
- SERIAL_ECHOLN(" Cal: Psi 0 ");
|
|
5769
|
+ SERIAL_ECHOLNPGM(" Cal: Psi 0");
|
5778
|
5770
|
return SCARA_move_to_cal(60, 180);
|
5779
|
5771
|
}
|
5780
|
5772
|
|
|
@@ -5782,7 +5774,7 @@ inline void gcode_M303() {
|
5782
|
5774
|
* M363: SCARA calibration: Move to cal-position PsiB (90 deg calibration - steps per degree)
|
5783
|
5775
|
*/
|
5784
|
5776
|
inline bool gcode_M363() {
|
5785
|
|
- SERIAL_ECHOLN(" Cal: Psi 90 ");
|
|
5777
|
+ SERIAL_ECHOLNPGM(" Cal: Psi 90");
|
5786
|
5778
|
return SCARA_move_to_cal(50, 90);
|
5787
|
5779
|
}
|
5788
|
5780
|
|
|
@@ -5790,7 +5782,7 @@ inline void gcode_M303() {
|
5790
|
5782
|
* M364: SCARA calibration: Move to cal-position PSIC (90 deg to Theta calibration position)
|
5791
|
5783
|
*/
|
5792
|
5784
|
inline bool gcode_M364() {
|
5793
|
|
- SERIAL_ECHOLN(" Cal: Theta-Psi 90 ");
|
|
5785
|
+ SERIAL_ECHOLNPGM(" Cal: Theta-Psi 90");
|
5794
|
5786
|
return SCARA_move_to_cal(45, 135);
|
5795
|
5787
|
}
|
5796
|
5788
|
|
|
@@ -6109,6 +6101,7 @@ inline void gcode_M503() {
|
6109
|
6101
|
else {
|
6110
|
6102
|
SERIAL_ECHOPGM(MSG_Z_MIN);
|
6111
|
6103
|
SERIAL_ECHO(Z_PROBE_OFFSET_RANGE_MIN);
|
|
6104
|
+ SERIAL_CHAR(' ');
|
6112
|
6105
|
SERIAL_ECHOPGM(MSG_Z_MAX);
|
6113
|
6106
|
SERIAL_ECHO(Z_PROBE_OFFSET_RANGE_MAX);
|
6114
|
6107
|
}
|
|
@@ -6625,7 +6618,7 @@ inline void gcode_T(uint8_t tmp_extruder) {
|
6625
|
6618
|
#endif
|
6626
|
6619
|
|
6627
|
6620
|
SERIAL_ECHO_START;
|
6628
|
|
- SERIAL_ECHO(MSG_ACTIVE_EXTRUDER);
|
|
6621
|
+ SERIAL_ECHOPGM(MSG_ACTIVE_EXTRUDER);
|
6629
|
6622
|
SERIAL_PROTOCOLLN((int)active_extruder);
|
6630
|
6623
|
}
|
6631
|
6624
|
|