added millis to each packet for radio analysis

fixed several issue regarding communication
This commit is contained in:
lumapu 2023-10-11 21:07:03 +02:00
parent c7f3f21469
commit b34e5a7416
8 changed files with 90 additions and 57 deletions

View file

@ -51,7 +51,7 @@ class CommQueue {
cb(true, &mQueue[mRdPtr]);
}
void pop(bool force = false) {
void cmdDone(bool force = false) {
if(!mQueue[mRdPtr].delOnPop && !force) {
mQueue[mRdPtr].attempts = 5;
add(mQueue[mRdPtr]); // add to the end again