Skip to content

Commit 5e8f456

Browse files
Cor Petersluctius
authored andcommitted
FDCAN1's message ram base address was wrong. Fixes issue #61
1 parent 621bd09 commit 5e8f456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/can.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ mod fdcan1 {
129129
const REGISTERS: *mut fdcan::RegisterBlock = FDCAN1::ptr() as *mut _;
130130
}
131131
unsafe impl fdcan::message_ram::Instance for Can<FDCAN1> {
132-
const MSG_RAM: *mut fdcan::message_ram::RegisterBlock = (0x4000_ac00 as *mut _);
132+
const MSG_RAM: *mut fdcan::message_ram::RegisterBlock = (0x4000_a400 as *mut _);
133133
}
134134
}
135135

0 commit comments

Comments
 (0)