Browse Source

Fix compiler warning sketch/mmu.cpp:32:6: warning: unused parameter 'extr' [-Wunused-parameter]

Marek Bel 6 years ago
parent
commit
548f4cb1fa
1 changed files with 5 additions and 1 deletions
  1. 5 1
      Firmware/mmu.cpp

+ 5 - 1
Firmware/mmu.cpp

@@ -29,7 +29,11 @@ void extr_mov(float shift, float feed_rate)
 }
 
 
-void change_extr(int extr) { //switches multiplexer for extruders
+void change_extr(int
+#ifdef SNMM
+        extr
+#endif //SNMM
+        ) { //switches multiplexer for extruders
 #ifdef SNMM
 	st_synchronize();
 	delay(100);