|
@@ -1168,7 +1168,7 @@ XYZ_CONSTS_FROM_CONFIG(signed char, home_dir, HOME_DIR);
|
1168
|
1168
|
static void set_axis_is_at_home(AxisEnum axis) {
|
1169
|
1169
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
1170
|
1170
|
if (DEBUGGING(LEVELING)) {
|
1171
|
|
- SERIAL_ECHOPAIR("set_axis_is_at_home(", (unsigned long)axis);
|
|
1171
|
+ SERIAL_ECHOPAIR("set_axis_is_at_home(", axis);
|
1172
|
1172
|
SERIAL_ECHOLNPGM(") >>>");
|
1173
|
1173
|
}
|
1174
|
1174
|
#endif
|
|
@@ -1256,7 +1256,7 @@ static void set_axis_is_at_home(AxisEnum axis) {
|
1256
|
1256
|
}
|
1257
|
1257
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
1258
|
1258
|
if (DEBUGGING(LEVELING)) {
|
1259
|
|
- SERIAL_ECHOPAIR("<<< set_axis_is_at_home(", (unsigned long)axis);
|
|
1259
|
+ SERIAL_ECHOPAIR("<<< set_axis_is_at_home(", axis);
|
1260
|
1260
|
SERIAL_ECHOLNPGM(")");
|
1261
|
1261
|
}
|
1262
|
1262
|
#endif
|
|
@@ -1651,7 +1651,7 @@ static void setup_for_endstop_move() {
|
1651
|
1651
|
if (doRaise) {
|
1652
|
1652
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
1653
|
1653
|
if (DEBUGGING(LEVELING)) {
|
1654
|
|
- SERIAL_ECHOPAIR("Raise Z (after) by ", (float)Z_RAISE_AFTER_PROBING);
|
|
1654
|
+ SERIAL_ECHOPAIR("Raise Z (after) by ", Z_RAISE_AFTER_PROBING);
|
1655
|
1655
|
SERIAL_EOL;
|
1656
|
1656
|
SERIAL_ECHO("> SERVO_ENDSTOPS > raise_z_after_probing()");
|
1657
|
1657
|
SERIAL_EOL;
|
|
@@ -1747,7 +1747,7 @@ static void setup_for_endstop_move() {
|
1747
|
1747
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
1748
|
1748
|
if (DEBUGGING(LEVELING)) {
|
1749
|
1749
|
SERIAL_ECHOLNPGM("probe_pt >>>");
|
1750
|
|
- SERIAL_ECHOPAIR("> ProbeAction:", (unsigned long)probe_action);
|
|
1750
|
+ SERIAL_ECHOPAIR("> ProbeAction:", probe_action);
|
1751
|
1751
|
SERIAL_EOL;
|
1752
|
1752
|
DEBUG_POS("", current_position);
|
1753
|
1753
|
}
|
|
@@ -1968,7 +1968,7 @@ static void setup_for_endstop_move() {
|
1968
|
1968
|
static void homeaxis(AxisEnum axis) {
|
1969
|
1969
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
1970
|
1970
|
if (DEBUGGING(LEVELING)) {
|
1971
|
|
- SERIAL_ECHOPAIR(">>> homeaxis(", (unsigned long)axis);
|
|
1971
|
+ SERIAL_ECHOPAIR(">>> homeaxis(", axis);
|
1972
|
1972
|
SERIAL_ECHOLNPGM(")");
|
1973
|
1973
|
}
|
1974
|
1974
|
#endif
|
|
@@ -2156,7 +2156,7 @@ static void homeaxis(AxisEnum axis) {
|
2156
|
2156
|
|
2157
|
2157
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
2158
|
2158
|
if (DEBUGGING(LEVELING)) {
|
2159
|
|
- SERIAL_ECHOPAIR("<<< homeaxis(", (unsigned long)axis);
|
|
2159
|
+ SERIAL_ECHOPAIR("<<< homeaxis(", axis);
|
2160
|
2160
|
SERIAL_ECHOLNPGM(")");
|
2161
|
2161
|
}
|
2162
|
2162
|
#endif
|
|
@@ -2484,7 +2484,7 @@ inline void gcode_G28() {
|
2484
|
2484
|
feedrate = max_feedrate[Z_AXIS] * 60; // feedrate (mm/m) = max_feedrate (mm/s)
|
2485
|
2485
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
2486
|
2486
|
if (DEBUGGING(LEVELING)) {
|
2487
|
|
- SERIAL_ECHOPAIR("Raise Z (before homing) to ", (float)(MIN_Z_HEIGHT_FOR_HOMING));
|
|
2487
|
+ SERIAL_ECHOPAIR("Raise Z (before homing) to ", (MIN_Z_HEIGHT_FOR_HOMING));
|
2488
|
2488
|
SERIAL_EOL;
|
2489
|
2489
|
DEBUG_POS("> (home_all_axis || homeZ)", current_position);
|
2490
|
2490
|
DEBUG_POS("> (home_all_axis || homeZ)", destination);
|
|
@@ -3115,7 +3115,7 @@ inline void gcode_G28() {
|
3115
|
3115
|
if (probePointCounter) {
|
3116
|
3116
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
3117
|
3117
|
if (DEBUGGING(LEVELING)) {
|
3118
|
|
- SERIAL_ECHOPAIR("z_before = (between) ", (float)(Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS]));
|
|
3118
|
+ SERIAL_ECHOPAIR("z_before = (between) ", (Z_RAISE_BETWEEN_PROBINGS + current_position[Z_AXIS]));
|
3119
|
3119
|
SERIAL_EOL;
|
3120
|
3120
|
}
|
3121
|
3121
|
#endif
|
|
@@ -3123,7 +3123,7 @@ inline void gcode_G28() {
|
3123
|
3123
|
else {
|
3124
|
3124
|
#if ENABLED(DEBUG_LEVELING_FEATURE)
|
3125
|
3125
|
if (DEBUGGING(LEVELING)) {
|
3126
|
|
- SERIAL_ECHOPAIR("z_before = (before) ", (float)Z_RAISE_BEFORE_PROBING);
|
|
3126
|
+ SERIAL_ECHOPAIR("z_before = (before) ", Z_RAISE_BEFORE_PROBING);
|
3127
|
3127
|
SERIAL_EOL;
|
3128
|
3128
|
}
|
3129
|
3129
|
#endif
|
|
@@ -3481,6 +3481,9 @@ inline void gcode_G92() {
|
3481
|
3481
|
inline void gcode_M0_M1() {
|
3482
|
3482
|
char* args = current_command_args;
|
3483
|
3483
|
|
|
3484
|
+ uint8_t test_value = 12;
|
|
3485
|
+ SERIAL_ECHOPAIR("TEST", test_value);
|
|
3486
|
+
|
3484
|
3487
|
millis_t codenum = 0;
|
3485
|
3488
|
bool hasP = false, hasS = false;
|
3486
|
3489
|
if (code_seen('P')) {
|