Skip to content

Commit

Permalink
fix clock in lis3::SpiMaster::initialize
Browse files Browse the repository at this point in the history
  • Loading branch information
TomSaw authored and salkinium committed Mar 8, 2024
1 parent a371df6 commit 3aedcf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modm/board/disco_f411ve/board.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ initializeLis3()
lis3::Cs::setOutput(modm::Gpio::High);

lis3::SpiMaster::connect<lis3::Sck::Sck, lis3::Mosi::Mosi, lis3::Miso::Miso>();
lis3::SpiMaster::initialize<SystemClock, 5.25_MHz>();
lis3::SpiMaster::initialize<SystemClock, 6_MHz>();
lis3::SpiMaster::setDataMode(lis3::SpiMaster::DataMode::Mode3);
}

Expand Down

0 comments on commit 3aedcf8

Please sign in to comment.