mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: address
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
2df7d018dd
commit
9ef3483674
2 changed files with 3 additions and 3 deletions
|
@ -593,7 +593,7 @@ static FlashTestErrorType prv_run_stress_addr_test(uint32_t iterations) {
|
|||
uint32_t stress_addr1 = FLASH_TEST_STRESS_ADDR1;
|
||||
uint16_t stress_data1 = FLASH_TEST_STRESS_DATA1;
|
||||
|
||||
// Read/Write from adress 2
|
||||
// Read/Write from address 2
|
||||
uint32_t stress_addr2 = FLASH_TEST_STRESS_ADDR2;
|
||||
uint16_t stress_data2 = FLASH_TEST_STRESS_DATA2;
|
||||
|
||||
|
|
|
@ -78,7 +78,7 @@ def find_subregions_for_region(address, size):
|
|||
# This region fits in the provided region and both the start and end are aligned with
|
||||
# subregion boundries. This will work!
|
||||
|
||||
block_start_addresss = address - start_in_block
|
||||
block_start_address = address - start_in_block
|
||||
|
||||
start_enabled_subregion = start_in_block / subregion_size
|
||||
end_enabled_subregion = end_in_block / subregion_size
|
||||
|
@ -90,7 +90,7 @@ def find_subregions_for_region(address, size):
|
|||
disabled_subregions_bytes = disabled_subregions.tobytes()
|
||||
disabled_subregions_int, = struct.unpack('B', disabled_subregions_bytes)
|
||||
|
||||
return MpuRegion(block_start_addresss, current_block_size, disabled_subregions_int)
|
||||
return MpuRegion(block_start_address, current_block_size, disabled_subregions_int)
|
||||
|
||||
current_block_size *= 2
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue