Skip to content

Conversation

@lutorm
Copy link
Contributor

@lutorm lutorm commented Jan 1, 2021

Since the delays are constant expressions, there's no need to use the Arduino delay function over the avr-libc one, and this way it works even if the timers are repurposed so millis() doesn't work right.

This way it works even if the timers have been changed from the Arduino
settings.
@PaulZC
Copy link
Contributor

PaulZC commented Jan 2, 2021

Hi Patrik (@lutorm ),
Thanks for submitting this - but I'm afraid we cannot merge it. _delay_ms works on some platforms but not on others:

image

Best wishes,
Paul

@PaulZC PaulZC closed this Jan 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants