Fix compiler warning sketch/Marlin_main.cpp:8811:10: warning: unused variable 'extruder_abs_pos' [-Wunused-variable]

Variable started to be unused in commit
fde0efc75c
power panic for absolute E coordinates: initial version
and its author told me that the change was intentional.
This commit is contained in:
Marek Bel 2018-07-25 11:33:32 +02:00
parent 0f577cace6
commit c7de8a91bb

View File

@ -8808,7 +8808,6 @@ void restore_print_from_eeprom() {
enquecommand(cmd); enquecommand(cmd);
if (eeprom_read_byte((uint8_t*)EEPROM_UVLO_E_ABS)) if (eeprom_read_byte((uint8_t*)EEPROM_UVLO_E_ABS))
{ {
float extruder_abs_pos = eeprom_read_float((float*)(EEPROM_UVLO_CURRENT_POSITION_E));
enquecommand_P(PSTR("M82")); //E axis abslute mode enquecommand_P(PSTR("M82")); //E axis abslute mode
} }
// Set the fan speed saved at the power panic. // Set the fan speed saved at the power panic.