mirror of
https://github.com/lumapu/ahoy.git
synced 2025-06-10 22:51:36 +02:00
0.8.28
* add get loss rate @rejoe2 * improve communication @rejoe2
This commit is contained in:
parent
b3ceadadd4
commit
5a52677cbd
9 changed files with 131 additions and 16 deletions
|
@ -94,8 +94,8 @@ class CommQueue {
|
|||
mQueue[mRdPtr].attempts--;
|
||||
}
|
||||
|
||||
void incrAttempt(void) {
|
||||
mQueue[mRdPtr].attempts++;
|
||||
void incrAttempt(uint8_t attempts = 1) {
|
||||
mQueue[mRdPtr].attempts += attempts;
|
||||
}
|
||||
|
||||
void inc(uint8_t *ptr) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue