Change watchdog time vom 5s to 10s
This commit is contained in:
parent
e7a7d2962a
commit
b5c0090b1c
|
@ -428,7 +428,6 @@ void OBP60Task(GwApi *api){
|
|||
long starttime3 = millis(); // Display update all 1s
|
||||
long starttime4 = millis(); // Delayed display update after 4s when select a new page
|
||||
long starttime5 = millis(); // Calculate sunrise and sunset all 1s
|
||||
|
||||
|
||||
// Main loop runs with 100ms
|
||||
//####################################################################################
|
||||
|
@ -440,7 +439,7 @@ void OBP60Task(GwApi *api){
|
|||
// Undervoltage detection
|
||||
if(uvoltage == true){
|
||||
underVoltageDetection(api);
|
||||
}
|
||||
}
|
||||
|
||||
if(millis() > starttime0 + 100){
|
||||
starttime0 = millis();
|
||||
|
|
|
@ -41,6 +41,7 @@ build_flags=
|
|||
# -D DISPLAY_GYE042A8 #alternativ E-Ink display from Genyo Optical, R10 2.2 ohm
|
||||
# -D DISPLAY_SE0420NQ04 #alternativ E-Ink display from SID Technology, R10 2.2 ohm
|
||||
${env.build_flags}
|
||||
CONFIG_ESP_TASK_WDT_TIMEOUT_S = 10 #Task Watchdog timeout period (seconds) [1...60] 5 default
|
||||
upload_port = /dev/ttyACM0
|
||||
upload_protocol = esptool
|
||||
upload_speed = 230400
|
||||
|
|
Loading…
Reference in New Issue