Procházet zdrojové kódy

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.
Yuri D'Elia před 5 roky
rodič
revize
84009e1e8e
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      Firmware/fsensor.cpp

+ 1 - 1
Firmware/fsensor.cpp

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