Parcourir la source

Merge pull request #2727 from mkbel/fix_unused_function

Unused function warning fix.
Marek Běl il y a 4 ans
Parent
commit
750af103ff
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      Firmware/ultralcd.cpp

+ 2 - 0
Firmware/ultralcd.cpp

@@ -5602,6 +5602,7 @@ do\
 }\
 while (0)
 
+#if 0 // temporarily unused
 static void lcd_check_gcode_set(void)
 {
 switch(oCheckGcode)
@@ -5620,6 +5621,7 @@ switch(oCheckGcode)
      }
 eeprom_update_byte((uint8_t*)EEPROM_CHECK_GCODE,(uint8_t)oCheckGcode);
 }
+#endif
 
 #define SETTINGS_GCODE \
 do\