Explorar o código

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

Variable started to be unused in commit
fde0efc75c5202800a80702d8ac4f9d6c36ac0ac
power panic for absolute E coordinates: initial version
and its author told me that the change was intentional.
Marek Bel %!s(int64=5) %!d(string=hai) anos
pai
achega
c7de8a91bb
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      Firmware/Marlin_main.cpp

+ 0 - 1
Firmware/Marlin_main.cpp

@@ -8808,7 +8808,6 @@ void restore_print_from_eeprom() {
 	enquecommand(cmd);
 	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
 	}
   // Set the fan speed saved at the power panic.