Browse Source

Merge pull request #1332 from XPila/V3_5

Fix PFW657 - filament runout detection is not working after autoload …
PavelSindler 5 years ago
parent
commit
f297e72864
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Firmware/fsensor.cpp

+ 1 - 0
Firmware/fsensor.cpp

@@ -184,6 +184,7 @@ void fsensor_disable(void)
 
 void fsensor_autoload_set(bool State)
 {
+	if (!State) fsensor_autoload_check_stop();
 	fsensor_autoload_enabled = State;
 	eeprom_update_byte((unsigned char *)EEPROM_FSENS_AUTOLOAD_ENABLED, fsensor_autoload_enabled);
 }