mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 15:36:38 +02:00
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:
parent
c3a2ad0a97
commit
4749b5ef3d
8 changed files with 222 additions and 122 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue