Skip to content

Commit

Permalink
Update example main in custom-project documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
jensboe authored and salkinium committed Nov 5, 2023
1 parent 354da57 commit 605aaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/guide/custom-project.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ int main()
while (true)
{
Board::Leds::toggle();
modm::delayMilliseconds(Board::Button::read() ? 250 : 500);
modm::delay(Board::Button::read() ? 250ms : 500ms);
#ifdef MODM_BOARD_HAS_LOGGER
static uint32_t counter(0);
MODM_LOG_INFO << "Loop counter: " << (counter++) << modm::endl;
Expand Down

0 comments on commit 605aaba

Please sign in to comment.