You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the cycle-accurate implementation (#28), the example code in the README has delay_ms<1000000>();. However, if you actually try to compile that line, you get the following error:
error: comparison operators cannot be chained:
|
9 | delay_ms<1000000>();
| ^ ^
|
help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments
|
9 | delay_ms::<1000000>();
| ++
Changing it to delay_ms::<1000000>(); fixes the issue. Thus, that example (and any others) should be updated to use the "turbofish" operator ::< >
The text was updated successfully, but these errors were encountered:
bombela
added a commit
to bombela/avr-delay
that referenced
this issue
Jun 12, 2022
In the cycle-accurate implementation (#28), the example code in the README has
delay_ms<1000000>();
. However, if you actually try to compile that line, you get the following error:Changing it to
delay_ms::<1000000>();
fixes the issue. Thus, that example (and any others) should be updated to use the "turbofish" operator ::< >The text was updated successfully, but these errors were encountered: