filament_autoload_enabled renamed to fsensor_watch_autoload
This commit is contained in:
parent
328cae1147
commit
ca2d69271c
1 changed files with 3 additions and 3 deletions
|
@ -9128,14 +9128,14 @@ void M600_load_filament(bool fsensor_enabled) {
|
||||||
KEEPALIVE_STATE(PAUSED_FOR_USER);
|
KEEPALIVE_STATE(PAUSED_FOR_USER);
|
||||||
|
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
if (filament_autoload_enabled && (fsensor_enabled || fsensor_watch_runout)) fsensor_autoload_check_start();
|
if (fsensor_watch_autoload && (fsensor_enabled || fsensor_watch_runout)) fsensor_autoload_check_start();
|
||||||
#endif //PAT9125
|
#endif //PAT9125
|
||||||
while(!lcd_clicked())
|
while(!lcd_clicked())
|
||||||
{
|
{
|
||||||
manage_heater();
|
manage_heater();
|
||||||
manage_inactivity(true);
|
manage_inactivity(true);
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
if (filament_autoload_enabled && (fsensor_enabled || fsensor_watch_runout) && fsensor_check_autoload())
|
if (fsensor_watch_autoload && (fsensor_enabled || fsensor_watch_runout) && fsensor_check_autoload())
|
||||||
{
|
{
|
||||||
tone(BEEPER, 1000);
|
tone(BEEPER, 1000);
|
||||||
delay_keep_alive(50);
|
delay_keep_alive(50);
|
||||||
|
@ -9146,7 +9146,7 @@ void M600_load_filament(bool fsensor_enabled) {
|
||||||
|
|
||||||
}
|
}
|
||||||
#ifdef PAT9125
|
#ifdef PAT9125
|
||||||
if (filament_autoload_enabled && (fsensor_enabled || fsensor_watch_runout)) fsensor_autoload_check_stop();
|
if (fsensor_watch_autoload && (fsensor_enabled || fsensor_watch_runout)) fsensor_autoload_check_stop();
|
||||||
#endif //PAT9125
|
#endif //PAT9125
|
||||||
KEEPALIVE_STATE(IN_HANDLER);
|
KEEPALIVE_STATE(IN_HANDLER);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue