Browse Source

version for testing / final review

MRprusa3d 4 years ago
parent
commit
ff479afd88
2 changed files with 6 additions and 4 deletions
  1. 1 1
      Firmware/Marlin_main.cpp
  2. 5 3
      Firmware/ultralcd.cpp

+ 1 - 1
Firmware/Marlin_main.cpp

@@ -9479,7 +9479,7 @@ static uint8_t nFSCheckCount=0;
                          {
                               nFSCheckCount=0;    // not necessary
                               oFsensorPCB=ClFsensorPCB::_Rev03b;
-//                              eeprom_update_byte((uint8_t*)EEPROM_FSENSOR_PCB,(uint8_t)oFsensorPCB);
+                              eeprom_update_byte((uint8_t*)EEPROM_FSENSOR_PCB,(uint8_t)oFsensorPCB);
                               printf_P(PSTR("Filament sensor board change detected: revision 03b or newer\n"));
                               lcd_setstatuspgm(_i("FS rev. 03b or newer"));
                          }

+ 5 - 3
Firmware/ultralcd.cpp

@@ -7586,7 +7586,8 @@ bool lcd_selftest()
 	int _progress = 0;
 	bool _result = true;
 	bool _swapped_fan = false;
-#if IR_SENSOR_ANALOG
+//#if IR_SENSOR_ANALOG
+#if (0)
      bool bAction;
      bAction=lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Is the filament unloaded?"),false,true);
      if(!bAction)
@@ -7598,7 +7599,7 @@ bool lcd_selftest()
 	#ifdef TMC2130
 	  FORCE_HIGH_POWER_START;
 	#endif // TMC2130
-     _delay(2000);
+//     _delay(2000);
     
     FORCE_BL_ON_START;
     
@@ -7795,7 +7796,8 @@ bool lcd_selftest()
 				_progress = lcd_selftest_screen(TestScreen::FsensorOk, _progress, 3, true, 2000); //fil sensor OK
 			}
 #endif //PAT9125
-#if IR_SENSOR_ANALOG
+//#if IR_SENSOR_ANALOG
+#if (0)
 			_progress = lcd_selftest_screen(TestScreen::Fsensor, _progress, 3, true, 2000); //check filament sensor
                _result = lcd_selftest_IRsensor();
 			if (_result)