Fix unused static declaration warnings
Guard declarations using the appropriate defines
This commit is contained in:
parent
7bd43b77d7
commit
f2fe57bfc0
@ -454,8 +454,11 @@ static void print_time_remaining_init();
|
|||||||
static void wait_for_heater(long codenum, uint8_t extruder);
|
static void wait_for_heater(long codenum, uint8_t extruder);
|
||||||
static void gcode_G28(bool home_x_axis, bool home_y_axis, bool home_z_axis);
|
static void gcode_G28(bool home_x_axis, bool home_y_axis, bool home_z_axis);
|
||||||
static void gcode_M105(uint8_t extruder);
|
static void gcode_M105(uint8_t extruder);
|
||||||
|
|
||||||
|
#ifndef PINDA_THERMISTOR
|
||||||
static void temp_compensation_start();
|
static void temp_compensation_start();
|
||||||
static void temp_compensation_apply();
|
static void temp_compensation_apply();
|
||||||
|
#endif
|
||||||
|
|
||||||
static bool get_PRUSA_SN(char* SN);
|
static bool get_PRUSA_SN(char* SN);
|
||||||
|
|
||||||
|
@ -197,7 +197,9 @@ static uint8_t heater_ttbllen_map[EXTRUDERS] = ARRAY_BY_EXTRUDERS( HEATER_0_TEMP
|
|||||||
|
|
||||||
static float analog2temp(int raw, uint8_t e);
|
static float analog2temp(int raw, uint8_t e);
|
||||||
static float analog2tempBed(int raw);
|
static float analog2tempBed(int raw);
|
||||||
|
#ifdef AMBIENT_MAXTEMP
|
||||||
static float analog2tempAmbient(int raw);
|
static float analog2tempAmbient(int raw);
|
||||||
|
#endif
|
||||||
static void updateTemperaturesFromRawValues();
|
static void updateTemperaturesFromRawValues();
|
||||||
|
|
||||||
enum TempRunawayStates
|
enum TempRunawayStates
|
||||||
|
@ -59,7 +59,9 @@ int clock_interval = 0;
|
|||||||
|
|
||||||
static void lcd_sd_updir();
|
static void lcd_sd_updir();
|
||||||
static void lcd_mesh_bed_leveling_settings();
|
static void lcd_mesh_bed_leveling_settings();
|
||||||
|
#ifdef LCD_BL_PIN
|
||||||
static void lcd_backlight_menu();
|
static void lcd_backlight_menu();
|
||||||
|
#endif
|
||||||
|
|
||||||
int8_t ReInitLCD = 0;
|
int8_t ReInitLCD = 0;
|
||||||
uint8_t scrollstuff = 0;
|
uint8_t scrollstuff = 0;
|
||||||
@ -123,7 +125,9 @@ static void lcd_tune_menu();
|
|||||||
static void lcd_settings_menu();
|
static void lcd_settings_menu();
|
||||||
static void lcd_calibration_menu();
|
static void lcd_calibration_menu();
|
||||||
static void lcd_control_temperature_menu();
|
static void lcd_control_temperature_menu();
|
||||||
|
#ifdef TMC2130
|
||||||
static void lcd_settings_linearity_correction_menu_save();
|
static void lcd_settings_linearity_correction_menu_save();
|
||||||
|
#endif
|
||||||
static void prusa_stat_printerstatus(int _status);
|
static void prusa_stat_printerstatus(int _status);
|
||||||
static void prusa_stat_farm_number();
|
static void prusa_stat_farm_number();
|
||||||
static void prusa_stat_diameter();
|
static void prusa_stat_diameter();
|
||||||
@ -160,7 +164,6 @@ static void lcd_selftest_v();
|
|||||||
#ifdef TMC2130
|
#ifdef TMC2130
|
||||||
static void reset_crash_det(unsigned char axis);
|
static void reset_crash_det(unsigned char axis);
|
||||||
static bool lcd_selfcheck_axis_sg(unsigned char axis);
|
static bool lcd_selfcheck_axis_sg(unsigned char axis);
|
||||||
static bool lcd_selfcheck_axis(int _axis, int _travel);
|
|
||||||
#else
|
#else
|
||||||
static bool lcd_selfcheck_axis(int _axis, int _travel);
|
static bool lcd_selfcheck_axis(int _axis, int _travel);
|
||||||
static bool lcd_selfcheck_pulleys(int axis);
|
static bool lcd_selfcheck_pulleys(int axis);
|
||||||
@ -248,7 +251,9 @@ static void fil_unload_menu();
|
|||||||
#endif // SNMM || SNMM_V2
|
#endif // SNMM || SNMM_V2
|
||||||
static void lcd_disable_farm_mode();
|
static void lcd_disable_farm_mode();
|
||||||
static void lcd_set_fan_check();
|
static void lcd_set_fan_check();
|
||||||
|
#ifdef MMU_HAS_CUTTER
|
||||||
static void lcd_cutter_enabled();
|
static void lcd_cutter_enabled();
|
||||||
|
#endif
|
||||||
#ifdef SNMM
|
#ifdef SNMM
|
||||||
static char snmm_stop_print_menu();
|
static char snmm_stop_print_menu();
|
||||||
#endif //SNMM
|
#endif //SNMM
|
||||||
|
Loading…
Reference in New Issue
Block a user