Closed
Description
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 ::< >
Metadata
Metadata
Assignees
Labels
No labels