diff --git a/Marlin/src/gcode/feature/i2c/M260_M261.cpp b/Marlin/src/gcode/feature/i2c/M260_M261.cpp index cf9bb7e583..7f2e719bb2 100644 --- a/Marlin/src/gcode/feature/i2c/M260_M261.cpp +++ b/Marlin/src/gcode/feature/i2c/M260_M261.cpp @@ -40,8 +40,8 @@ * M260 B * M260 B * - * M260 S1 ; Send the buffered data and reset the buffer - * M260 R1 ; Reset the buffer without sending data + * M260 S ; Send the buffered data and reset the buffer + * M260 R ; Reset the buffer without sending data */ void GcodeSuite::M260() { // Set the target address @@ -51,10 +51,10 @@ void GcodeSuite::M260() { if (parser.seenval('B')) i2c.addbyte(parser.value_byte()); // Flush the buffer to the bus - if (parser.seen('S')) i2c.send(); + if (parser.seen_test('S')) i2c.send(); // Reset and rewind the buffer - else if (parser.seen('R')) i2c.reset(); + else if (parser.seen_test('R')) i2c.reset(); } /** diff --git a/Marlin/src/module/planner.cpp b/Marlin/src/module/planner.cpp index 452573ea3a..e48a55ae48 100644 --- a/Marlin/src/module/planner.cpp +++ b/Marlin/src/module/planner.cpp @@ -1371,7 +1371,6 @@ void Planner::check_axes_activity() { /** * Called by the M104/M109 commands after setting Hotend Temperature - * */ void Planner::autotemp_M104_M109() { _autotemp_update_from_hotend();