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 19, 2024
1 parent 6f7418a commit 40f6457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/modm/platform/fdcan/fdcan_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ FdcanTest::testBuffers()

// try to receive same messages
modm::can::Message receivedMessage;
for (uint_fast16_t i = 0; i <= numberOfMsgs; ++i) {
for (uint_fast16_t i = 0; i < numberOfMsgs; ++i) {
TEST_ASSERT_TRUE(Fdcan1::getMessage(receivedMessage));

TEST_ASSERT_EQUALS(receivedMessage.getIdentifier(), 0x4711u);
Expand Down

0 comments on commit 40f6457

Please sign in to comment.