Skip to content

Commit

Permalink
fixup! [stm32] Add FDCAN support for H7 series
Browse files Browse the repository at this point in the history
  • Loading branch information
WasabiFan committed Sep 21, 2024
1 parent beb1ac9 commit c37873b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/platform/can/stm32-fdcan/module.lb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class Instance(Module):
properties["shared_irq_it0"] = False
properties["shared_irq_it1"] = False

properties["message_ram_length_words"] = 2560 if device.identifier.family == "h7" else 1696
properties["message_ram_length_words"] = 2560 if device.identifier.family == "h7" else 212

if device.identifier.family == "g0":
shared_irq_it0 = get_shared_irq(device, "FDCAN_IT0")
Expand Down

0 comments on commit c37873b

Please sign in to comment.