Merge pull request #1332 from XPila/V3_5
Fix PFW657 - filament runout detection is not working after autoload …
This commit is contained in:
commit
f297e72864
|
|
@ -184,6 +184,7 @@ void fsensor_disable(void)
|
||||||
|
|
||||||
void fsensor_autoload_set(bool State)
|
void fsensor_autoload_set(bool State)
|
||||||
{
|
{
|
||||||
|
if (!State) fsensor_autoload_check_stop();
|
||||||
fsensor_autoload_enabled = State;
|
fsensor_autoload_enabled = State;
|
||||||
eeprom_update_byte((unsigned char *)EEPROM_FSENS_AUTOLOAD_ENABLED, fsensor_autoload_enabled);
|
eeprom_update_byte((unsigned char *)EEPROM_FSENS_AUTOLOAD_ENABLED, fsensor_autoload_enabled);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue