spelling: capacity

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 12:55:16 -05:00
parent f7cac0ad9b
commit 30232b4c27

View file

@ -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;