Ver código fonte

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 5 anos atrás
pai
commit
84009e1e8e
1 arquivos alterados com 1 adições e 1 exclusões
  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;