Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cyacc] Add convenience macros to simplify calling delay functions #33

Open
wants to merge 1 commit into
base: cycacc
Choose a base branch
from

Commits on Jun 12, 2022

  1. Add convenience macros to simplify calling delay functions

    Calling delay functions with non-trivial inputs requires using the
    turbofish operator and braces. For example, a 5 minute delay would have
    to be called as delay_sec::<{ 5 * 60 }>().
    
    Since this syntax is a bit clunky and not very user friendly, macros
    are added for each delay function such that delay_sec!(5 * 60) expands
    to delay_sec::<{ 5 * 60 }>()
    lord-ne committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    279c5b7 View commit details
    Browse the repository at this point in the history