Skip to content

Commit 0b2c608

Browse files
authored
Merge pull request #4372 from jbrazio/gcc-bark
Fix minor gcc warning
2 parents 5655f8b + 2f77169 commit 0b2c608

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Marlin/Marlin_main.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6668,7 +6668,6 @@ inline void invalid_extruder_error(const uint8_t &e) {
66686668
}
66696669

66706670
void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool no_move/*=false*/) {
6671-
66726671
#if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
66736672

66746673
if (tmp_extruder >= MIXING_VIRTUAL_TOOLS) {
@@ -6948,6 +6947,9 @@ void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool n
69486947
// Set the new active extruder
69496948
active_extruder = tmp_extruder;
69506949

6950+
UNUSED(fr_mm_m);
6951+
UNUSED(no_move);
6952+
69516953
#endif // HOTENDS <= 1
69526954

69536955
SERIAL_ECHO_START;

0 commit comments

Comments
 (0)