mirror of
https://github.com/google/pebble.git
synced 2026-02-13 00:47:19 -05:00
spelling: its
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -36,11 +36,11 @@
|
||||
//! Logs messages to SPI flash for later retreival.
|
||||
//!
|
||||
//! The different chunks allow us to implement a rolling log, where if we fill up all the chunks, we can erase the oldest
|
||||
//! chunk to find us some more space. Each chunk gets it's own header at the top of the chunk to indicate the order in
|
||||
//! chunk to find us some more space. Each chunk gets its own header at the top of the chunk to indicate the order in
|
||||
//! which the chunks should be reassembled.
|
||||
|
||||
//! Make sure chunks are still an even number of flash subsectors. Our log space is 7 subsectors, so our NUM_CHUNKS
|
||||
//! makes it so each chunk has it's own subsector.
|
||||
//! makes it so each chunk has its own subsector.
|
||||
#define NUM_CHUNKS 7
|
||||
|
||||
#define CHUNK_SIZE_BYTES (SECTION_LOGS_SIZE_BYTES / NUM_CHUNKS)
|
||||
|
||||
Reference in New Issue
Block a user