Skip to content

Commit

Permalink
FDCAN1's message ram base address was wrong. Fixes issue #61
Browse files Browse the repository at this point in the history
  • Loading branch information
Cor Peters authored and luctius committed Mar 21, 2023
1 parent 621bd09 commit 5e8f456
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/can.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ mod fdcan1 {
const REGISTERS: *mut fdcan::RegisterBlock = FDCAN1::ptr() as *mut _;
}
unsafe impl fdcan::message_ram::Instance for Can<FDCAN1> {
const MSG_RAM: *mut fdcan::message_ram::RegisterBlock = (0x4000_ac00 as *mut _);
const MSG_RAM: *mut fdcan::message_ram::RegisterBlock = (0x4000_a400 as *mut _);
}
}

Expand Down

0 comments on commit 5e8f456

Please sign in to comment.