non blocking version

- shorten hms waiting times after last frame es well (might be too short to immedately stop timer!)
- timings still need review...
This commit is contained in:
rejoe2 2024-01-18 14:15:44 +01:00 committed by GitHub
parent c3a2ad0a97
commit 4749b5ef3d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 222 additions and 122 deletions

View file

@ -639,7 +639,13 @@ class Inverter {
DBGPRINT(F(", DTU loss: "));
DBGPRINT(String(radioStatistics.dtuLoss));
DBGPRINT(F(" of "));
DBGPRINTLN(String(radioStatistics.dtuSent));
if(mAckCount) {
DBGPRINT(String(radioStatistics.dtuSent));
DBGPRINT(F(". ACKs: "));
DBGPRINTLN(String(mAckCount));
mAckCount = 0;
} else
DBGPRINTLN(String(radioStatistics.dtuSent));
}
mIvRxCnt = rxCnt;
@ -849,7 +855,7 @@ class Inverter {
uint8_t mGetLossInterval = 0; // request iv every AHOY_GET_LOSS_INTERVAL RealTimeRunData_Debug
uint16_t mIvRxCnt = 0;
uint16_t mIvTxCnt = 0;
uint16_t mAckCount = 0;
};
template <class REC_TYP>