mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-09-08 16:07:19 -06:00
🩹 Daily cleanup Nov 18
This commit is contained in:
parent
bf98c16a00
commit
fa55caed1f
6 changed files with 51 additions and 52 deletions
|
@ -53,7 +53,7 @@
|
|||
* 41 - Counter-Clockwise M4
|
||||
* 50 - Clockwise M5
|
||||
* 51 - Counter-Clockwise M5
|
||||
**/
|
||||
*/
|
||||
void GcodeSuite::G35() {
|
||||
|
||||
DEBUG_SECTION(log_G35, "G35", DEBUGGING(LEVELING));
|
||||
|
|
|
@ -43,7 +43,8 @@
|
|||
* P : Flag to put the probe at the given point
|
||||
*/
|
||||
void GcodeSuite::G42() {
|
||||
if (MOTION_CONDITIONS) {
|
||||
if (!MOTION_CONDITIONS) return;
|
||||
|
||||
const bool hasI = parser.seenval('I');
|
||||
const int8_t ix = hasI ? parser.value_int() : 0;
|
||||
const bool hasJ = parser.seenval('J');
|
||||
|
@ -77,6 +78,5 @@ void GcodeSuite::G42() {
|
|||
prepare_internal_move_to_destination(fr_mm_s);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
#endif // HAS_MESH
|
||||
|
|
|
@ -109,7 +109,7 @@ void GcodeSuite::M115() {
|
|||
SERIAL_ECHO(F("CEDE2A2F-"));
|
||||
for (uint8_t i = 1; i <= 6; i++) {
|
||||
print_hex_word(UID[(i % 2) ? i : i - 2]); // 1111-0000-3333-222255554444
|
||||
if (i <= 3) SERIAL_ECHO(C('-'));
|
||||
if (i <= 3) SERIAL_CHAR('-');
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
* G5: Cubic B-spline
|
||||
*/
|
||||
void GcodeSuite::G5() {
|
||||
if (MOTION_CONDITIONS) {
|
||||
if (!MOTION_CONDITIONS) return;
|
||||
|
||||
#if ENABLED(CNC_WORKSPACE_PLANES)
|
||||
if (workspace_plane != PLANE_XY) {
|
||||
|
@ -64,6 +64,5 @@ void GcodeSuite::G5() {
|
|||
cubic_b_spline(current_position, destination, offsets, MMS_SCALED(feedrate_mm_s), active_extruder);
|
||||
current_position = destination;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // BEZIER_CURVE_SUPPORT
|
||||
|
|
|
@ -44,9 +44,9 @@
|
|||
//
|
||||
// Limit Switches
|
||||
//
|
||||
#define X_MIN_PIN 5
|
||||
#define Y_MIN_PIN 2
|
||||
#define Z_MIN_PIN 6
|
||||
#define X_STOP_PIN 5
|
||||
#define Y_STOP_PIN 2
|
||||
#define Z_STOP_PIN 6
|
||||
|
||||
//
|
||||
// Steppers
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue