Do a full fsensor_update() when initializing the sensor

This correctly populates the "extruder info" details even when
the menu is entered for the first time after starting a print.
This commit is contained in:
Yuri D'Elia 2019-06-03 14:52:12 +02:00
parent fa7c0fb2c9
commit 84009e1e8e

View File

@ -216,7 +216,7 @@ void fsensor_autoload_check_start(void)
if (!fsensor_enabled) return; if (!fsensor_enabled) return;
if (!fsensor_autoload_enabled) return; if (!fsensor_autoload_enabled) return;
if (fsensor_watch_autoload) return; if (fsensor_watch_autoload) return;
if (!pat9125_update_y()) //update sensor if (!pat9125_update()) //update sensor
{ {
fsensor_disable(); fsensor_disable();
fsensor_not_responding = true; fsensor_not_responding = true;