Browse Source

Merge pull request #4372 from jbrazio/gcc-bark

Fix minor gcc warning
Scott Lahteine 9 years ago
parent
commit
0b2c608d2f
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Marlin/Marlin_main.cpp

+ 3
- 1
Marlin/Marlin_main.cpp View File

6668
 }
6668
 }
6669
 
6669
 
6670
 void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool no_move/*=false*/) {
6670
 void tool_change(const uint8_t tmp_extruder, const float fr_mm_m/*=0.0*/, bool no_move/*=false*/) {
6671
-
6672
   #if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
6671
   #if ENABLED(MIXING_EXTRUDER) && MIXING_VIRTUAL_TOOLS > 1
6673
 
6672
 
6674
     if (tmp_extruder >= MIXING_VIRTUAL_TOOLS) {
6673
     if (tmp_extruder >= MIXING_VIRTUAL_TOOLS) {
6948
       // Set the new active extruder
6947
       // Set the new active extruder
6949
       active_extruder = tmp_extruder;
6948
       active_extruder = tmp_extruder;
6950
 
6949
 
6950
+      UNUSED(fr_mm_m);
6951
+      UNUSED(no_move);
6952
+
6951
     #endif // HOTENDS <= 1
6953
     #endif // HOTENDS <= 1
6952
 
6954
 
6953
     SERIAL_ECHO_START;
6955
     SERIAL_ECHO_START;

Loading…
Cancel
Save