Browse Source

watchdog reset

PavelSindler 7 năm trước cách đây
mục cha
commit
893f34fd85
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Firmware/temperature.cpp

+ 1 - 1
Firmware/temperature.cpp

@@ -268,7 +268,7 @@ unsigned long watchmillis[EXTRUDERS] = ARRAY_BY_EXTRUDERS(0,0,0);
 
 
  for(;;) {
-
+	wdt_reset();
     if(temp_meas_ready == true) { // temp sample ready
       updateTemperaturesFromRawValues();