mirror of
https://github.com/mikecarper/MeshCore.git
synced 2026-09-09 19:15:33 +00:00
Defer remote commands outside receive stack
This commit is contained in:
@@ -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