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