mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-14 01:16:37 +02:00
0.8.0707
This commit is contained in:
parent
1bc3a0f06f
commit
eb15ce5dba
9 changed files with 114 additions and 73 deletions
|
@ -85,6 +85,10 @@ class CommQueue {
|
|||
mQueue[mRdPtr].attempts--;
|
||||
}
|
||||
|
||||
void incrAttempt(void) {
|
||||
mQueue[mRdPtr].attempts++;
|
||||
}
|
||||
|
||||
void inc(uint8_t *ptr) {
|
||||
if(++(*ptr) >= N)
|
||||
*ptr = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue