Remove unused kicktime timer
The variable is only set and never actually used Saves 8 bytes of flash and 4 bytes of SRAM
This commit is contained in:
parent
ef8083a148
commit
42778cae83
2 changed files with 0 additions and 7 deletions
|
@ -320,9 +320,6 @@ extern bool is_usb_printing;
|
||||||
extern bool homing_flag;
|
extern bool homing_flag;
|
||||||
extern bool loading_flag;
|
extern bool loading_flag;
|
||||||
extern unsigned int usb_printing_counter;
|
extern unsigned int usb_printing_counter;
|
||||||
|
|
||||||
extern unsigned long kicktime;
|
|
||||||
|
|
||||||
extern unsigned long total_filament_used;
|
extern unsigned long total_filament_used;
|
||||||
void save_statistics(unsigned long _total_filament_used, unsigned long _total_print_time);
|
void save_statistics(unsigned long _total_filament_used, unsigned long _total_print_time);
|
||||||
extern unsigned int heating_status;
|
extern unsigned int heating_status;
|
||||||
|
|
|
@ -195,8 +195,6 @@ int bowden_length[4] = {385, 385, 385, 385};
|
||||||
bool is_usb_printing = false;
|
bool is_usb_printing = false;
|
||||||
bool homing_flag = false;
|
bool homing_flag = false;
|
||||||
|
|
||||||
unsigned long kicktime = _millis()+100000;
|
|
||||||
|
|
||||||
unsigned int usb_printing_counter;
|
unsigned int usb_printing_counter;
|
||||||
|
|
||||||
int8_t lcd_change_fil_state = 0;
|
int8_t lcd_change_fil_state = 0;
|
||||||
|
@ -4601,8 +4599,6 @@ void process_commands()
|
||||||
eeprom_update_word(reinterpret_cast<uint16_t *>(&(EEPROM_Sheets_base->s[(eeprom_read_byte(&(EEPROM_Sheets_base->active_sheet)))].z_offset)),0);
|
eeprom_update_word(reinterpret_cast<uint16_t *>(&(EEPROM_Sheets_base->s[(eeprom_read_byte(&(EEPROM_Sheets_base->active_sheet)))].z_offset)),0);
|
||||||
|
|
||||||
} else if(code_seen_P(PSTR("Beat"))) { // PRUSA Beat
|
} else if(code_seen_P(PSTR("Beat"))) { // PRUSA Beat
|
||||||
// Kick farm link timer
|
|
||||||
kicktime = _millis();
|
|
||||||
|
|
||||||
} else if(code_seen_P(PSTR("FR"))) { // PRUSA FR
|
} else if(code_seen_P(PSTR("FR"))) { // PRUSA FR
|
||||||
// Factory full reset
|
// Factory full reset
|
||||||
|
|
Loading…
Add table
Reference in a new issue