mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: capacity
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
f7cac0ad9b
commit
30232b4c27
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ size_t flash_get_size(void) {
|
|||
return 0;
|
||||
}
|
||||
|
||||
// capcity_megabytes = 2^(capacity in whoami)
|
||||
// capacity_megabytes = 2^(capacity in whoami)
|
||||
uint32_t capacity = spi_flash_id & 0x000000FF;
|
||||
// get the capacity of the flash in bytes
|
||||
return 1 << capacity;
|
||||
|
|
Loading…
Add table
Reference in a new issue