mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 23:46:37 +02:00
* added rx channel switching
* switched to crc8 check for valid packet-payload
This commit is contained in:
parent
8f444cee2f
commit
37206847c5
11 changed files with 217 additions and 111 deletions
|
@ -70,6 +70,10 @@ class CircularBuffer {
|
|||
return m_fill == m_size;
|
||||
}
|
||||
|
||||
inline uint8_t getFill(void) const {
|
||||
return m_fill;
|
||||
}
|
||||
|
||||
/** Aquire record on front of the buffer, for writing.
|
||||
* After filling the record, it has to be pushed to actually
|
||||
* add it to the buffer.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue