fix: reduce loop delay to 10ms so __loopHook processes RPCs
Validate and Test / validate-patches (push) Failing after 12s
Validate and Test / validate-patches (push) Failing after 12s
Background thread stack (500 bytes) overflows after ~50 draw_frame calls. __loopHook (called after loop() returns) is the fallback. With delay(1000), it ran once per second — too slow. Reducing to delay(10) keeps RPC processing responsive.
This commit is contained in:
+1
-1
@@ -121,5 +121,5 @@ void setup() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void loop() {
|
void loop() {
|
||||||
delay(1000);
|
delay(10);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user