second instance of misspelled 'unaligned'

This commit is contained in:
Bob Abeles 2023-09-07 09:25:02 -07:00
parent 65fc79e31f
commit 79edcbe97d
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ void common_hal_memorymap_addressrange_get_bytes(const memorymap_addressrange_ob
case IO:
if ((size_t)src_addr & 0x03 || len & 0x03) {
// Unaligned access or unaligned length not supported by RP2 for IO registers
mp_raise_RuntimeError(translate("Unable to access unaliged IO register"));
mp_raise_RuntimeError(translate("Unable to access unaligned IO register"));
} else {
// Aligned access and length, use 32-bit reads
uint32_t *src_addr32 = (uint32_t *)src_addr;