Skip to content

Commit

Permalink
FIxed the frequency literals Mhz -> MHz
Browse files Browse the repository at this point in the history
  • Loading branch information
frnktank committed Dec 17, 2024
1 parent 22af351 commit 229b53a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/nucleo_l476rg/lvgl/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ main()
tft::Sck::Sck,
tft::Miso::Miso,
tft::Mosi::Mosi>();
tft::Spi::initialize<Board::SystemClock, 24_Mhz>();
tft::Spi::initialize<Board::SystemClock, 24_MHz>();
tftController.initialize();
tftController.enableBacklight(true);

touch::Spi::connect<
touch::Sck::Sck,
touch::Miso::Miso,
touch::Mosi::Mosi>();
touch::Spi::initialize<Board::SystemClock, 1.5_Mhz>();
touch::Spi::initialize<Board::SystemClock, 1.5_MHz>();
modm::touch2046::Calibration cal{
.OffsetX = -11,
.OffsetY = 335,
Expand Down

0 comments on commit 229b53a

Please sign in to comment.