|
@@ -752,7 +752,7 @@ void report_current_position_detail();
|
752
|
752
|
#endif
|
753
|
753
|
|
754
|
754
|
#define DEBUG_POS(SUFFIX,VAR) do { \
|
755
|
|
- print_xyz(PSTR(" " STRINGIFY(VAR) "="), PSTR(" : " SUFFIX "\n"), VAR); } while(0)
|
|
755
|
+ print_xyz(PSTR(" " STRINGIFY(VAR) "="), PSTR(" : " SUFFIX "\n"), VAR); }while(0)
|
756
|
756
|
#endif
|
757
|
757
|
|
758
|
758
|
/**
|
|
@@ -3492,20 +3492,20 @@ inline void gcode_G4() {
|
3492
|
3492
|
SERIAL_ECHOPAIR("Probe Offset X:", X_PROBE_OFFSET_FROM_EXTRUDER);
|
3493
|
3493
|
SERIAL_ECHOPAIR(" Y:", Y_PROBE_OFFSET_FROM_EXTRUDER);
|
3494
|
3494
|
SERIAL_ECHOPAIR(" Z:", zprobe_zoffset);
|
3495
|
|
- #if (X_PROBE_OFFSET_FROM_EXTRUDER > 0)
|
|
3495
|
+ #if X_PROBE_OFFSET_FROM_EXTRUDER > 0
|
3496
|
3496
|
SERIAL_ECHOPGM(" (Right");
|
3497
|
|
- #elif (X_PROBE_OFFSET_FROM_EXTRUDER < 0)
|
|
3497
|
+ #elif X_PROBE_OFFSET_FROM_EXTRUDER < 0
|
3498
|
3498
|
SERIAL_ECHOPGM(" (Left");
|
3499
|
|
- #elif (Y_PROBE_OFFSET_FROM_EXTRUDER != 0)
|
|
3499
|
+ #elif Y_PROBE_OFFSET_FROM_EXTRUDER != 0
|
3500
|
3500
|
SERIAL_ECHOPGM(" (Middle");
|
3501
|
3501
|
#else
|
3502
|
3502
|
SERIAL_ECHOPGM(" (Aligned With");
|
3503
|
3503
|
#endif
|
3504
|
|
- #if (Y_PROBE_OFFSET_FROM_EXTRUDER > 0)
|
|
3504
|
+ #if Y_PROBE_OFFSET_FROM_EXTRUDER > 0
|
3505
|
3505
|
SERIAL_ECHOPGM("-Back");
|
3506
|
|
- #elif (Y_PROBE_OFFSET_FROM_EXTRUDER < 0)
|
|
3506
|
+ #elif Y_PROBE_OFFSET_FROM_EXTRUDER < 0
|
3507
|
3507
|
SERIAL_ECHOPGM("-Front");
|
3508
|
|
- #elif (X_PROBE_OFFSET_FROM_EXTRUDER != 0)
|
|
3508
|
+ #elif X_PROBE_OFFSET_FROM_EXTRUDER != 0
|
3509
|
3509
|
SERIAL_ECHOPGM("-Center");
|
3510
|
3510
|
#endif
|
3511
|
3511
|
if (zprobe_zoffset < 0)
|
|
@@ -5109,7 +5109,7 @@ void home_all_axes() { gcode_G28(true); }
|
5109
|
5109
|
|
5110
|
5110
|
const int8_t probe_points = parser.seen('P') ? parser.value_int() : DELTA_CALIBRATION_DEFAULT_POINTS;
|
5111
|
5111
|
if (!WITHIN(probe_points, 1, 7)) {
|
5112
|
|
- SERIAL_PROTOCOLLNPGM("?(P)oints is implausible (1-7).");
|
|
5112
|
+ SERIAL_PROTOCOLLNPGM("?(P)oints is implausible (1 to 7).");
|
5113
|
5113
|
return;
|
5114
|
5114
|
}
|
5115
|
5115
|
|
|
@@ -11279,7 +11279,7 @@ void ok_to_send() {
|
11279
|
11279
|
delta[A_AXIS] = DELTA_Z(A_AXIS); \
|
11280
|
11280
|
delta[B_AXIS] = DELTA_Z(B_AXIS); \
|
11281
|
11281
|
delta[C_AXIS] = DELTA_Z(C_AXIS); \
|
11282
|
|
- } while(0)
|
|
11282
|
+ }while(0)
|
11283
|
11283
|
|
11284
|
11284
|
#define DELTA_LOGICAL_IK() do { \
|
11285
|
11285
|
const float raw[XYZ] = { \
|
|
@@ -11288,7 +11288,7 @@ void ok_to_send() {
|
11288
|
11288
|
RAW_Z_POSITION(logical[Z_AXIS]) \
|
11289
|
11289
|
}; \
|
11290
|
11290
|
DELTA_RAW_IK(); \
|
11291
|
|
- } while(0)
|
|
11291
|
+ }while(0)
|
11292
|
11292
|
|
11293
|
11293
|
#define DELTA_DEBUG() do { \
|
11294
|
11294
|
SERIAL_ECHOPAIR("cartesian X:", raw[X_AXIS]); \
|
|
@@ -11297,7 +11297,7 @@ void ok_to_send() {
|
11297
|
11297
|
SERIAL_ECHOPAIR("delta A:", delta[A_AXIS]); \
|
11298
|
11298
|
SERIAL_ECHOPAIR(" B:", delta[B_AXIS]); \
|
11299
|
11299
|
SERIAL_ECHOLNPAIR(" C:", delta[C_AXIS]); \
|
11300
|
|
- } while(0)
|
|
11300
|
+ }while(0)
|
11301
|
11301
|
|
11302
|
11302
|
void inverse_kinematics(const float logical[XYZ]) {
|
11303
|
11303
|
DELTA_LOGICAL_IK();
|