Defer remote commands outside receive stack
This commit is contained in:
1 parent
6cf0954463
commit
c1752f2db1
9 files changed
+281
-28
No files matched your search
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user