mirror of
https://github.com/google/pebble
synced 2026-10-13 07:14:12 +02:00
@@ -53,7 +53,7 @@ bool circular_buffer_write(CircularBuffer* buffer, const void* data, uint16_t le
|
||||
|
||||
uint16_t write_index = get_write_index(buffer);
|
||||
|
||||
// Update the data_length member now beforce we muck with the length parameter
|
||||
// Update the data_length member now before we muck with the length parameter
|
||||
buffer->data_length += length;
|
||||
|
||||
const uint16_t remaining_length = buffer->buffer_size - write_index;
|
||||
|
||||
Reference in New Issue
Block a user