Format code according to conventions (#16322)
This commit is contained in:
parent
afcdd7079c
commit
63646e8906
345 changed files with 4916 additions and 3229 deletions
|
|
@ -52,7 +52,9 @@ byteQueueIndex_t bytequeue_length(byteQueue_t* queue) {
|
|||
}
|
||||
|
||||
// we don't need to avoid interrupts if there is only one reader
|
||||
uint8_t bytequeue_get(byteQueue_t* queue, byteQueueIndex_t index) { return queue->data[(queue->start + index) % queue->length]; }
|
||||
uint8_t bytequeue_get(byteQueue_t* queue, byteQueueIndex_t index) {
|
||||
return queue->data[(queue->start + index) % queue->length];
|
||||
}
|
||||
|
||||
// we just update the start index to remove elements
|
||||
void bytequeue_remove(byteQueue_t* queue, byteQueueIndex_t numToRemove) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue