Alex Voinea пре 3 година
родитељ
комит
6663f719f6
2 измењених фајлова са 1 додато и 4 уклоњено
  1. 0 3
      Firmware/fsensor.h
  2. 1 1
      Firmware/ultralcd.cpp

+ 0 - 3
Firmware/fsensor.h

@@ -26,9 +26,6 @@ extern void fsensor_restore_print_and_continue(void);
 extern void fsensor_checkpoint_print(void);
 //! @}
 
-//! initialize
-extern void fsensor_init(void);
-
 #ifdef PAT9125
 //! update axis resolution
 extern void fsensor_set_axis_steps_per_unit(float u);

+ 1 - 1
Firmware/ultralcd.cpp

@@ -7054,7 +7054,7 @@ static void lcd_selftest_error(TestError testError, const char *_error_1, const
 #ifdef PAT9125
 static bool lcd_selftest_fsensor(void)
 {
-	fsensor_init();
+	// fsensor.init();
 	if (fsensor_not_responding)
 	{
 		lcd_selftest_error(TestError::WiringFsensor, "", "");