second instance of misspelled 'unaligned'
This commit is contained in:
parent
65fc79e31f
commit
79edcbe97d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue