Defer remote commands outside receive stack

This commit is contained in:
mikecarper
2026-07-24 00:18:35 -07:00
parent 6cf0954463
commit c1752f2db1
9 changed files with 281 additions and 28 deletions
+3
View File
@@ -218,7 +218,10 @@ void Mesh::begin() {
void Mesh::loop() {
Dispatcher::loop();
serviceLoopMaintenance();
}
void __attribute__((noinline)) Mesh::serviceLoopMaintenance() {
if (_waiting_direct_retry_count != 0
&& millisHasNowPassed(_next_direct_retry_timeout)) {
for (int i = 0; i < MAX_DIRECT_RETRY_SLOTS; i++) {