Skip to content

Commit 79edcbe

Browse files
author
Bob Abeles
committed
second instance of misspelled 'unaligned'
1 parent 65fc79e commit 79edcbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/raspberrypi/common-hal/memorymap/AddressRange.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ void common_hal_memorymap_addressrange_get_bytes(const memorymap_addressrange_ob
122122
case IO:
123123
if ((size_t)src_addr & 0x03 || len & 0x03) {
124124
// Unaligned access or unaligned length not supported by RP2 for IO registers
125-
mp_raise_RuntimeError(translate("Unable to access unaliged IO register"));
125+
mp_raise_RuntimeError(translate("Unable to access unaligned IO register"));
126126
} else {
127127
// Aligned access and length, use 32-bit reads
128128
uint32_t *src_addr32 = (uint32_t *)src_addr;

0 commit comments

Comments
 (0)