Selaa lähdekoodia

Fix minor gcc warning

João Brázio 9 vuotta sitten
vanhempi
commit
2f7716987d
1 muutettua tiedostoa jossa 3 lisäystä ja 1 poistoa
  1. 3
    1
      Marlin/Marlin_main.cpp

+ 3
- 1
Marlin/Marlin_main.cpp Näytä tiedosto

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

Loading…
Peruuta
Tallenna