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
Is your feature request/improvement related to a problem? Please describe.
I'm using the HardwareTimer class and would like to pass a custom parameters to the interrupt callback. Currently the only way of doing this is to use global variable(s).
Describe the solution you'd like
I guess the easiest fix without breaking any compatibility would be to add a pointer for every timer channel that can be accessed from within the interrupt:
Is your feature request/improvement related to a problem? Please describe.
I'm using the HardwareTimer class and would like to pass a custom parameters to the interrupt callback. Currently the only way of doing this is to use global variable(s).
Describe the solution you'd like
I guess the easiest fix without breaking any compatibility would be to add a pointer for every timer channel that can be accessed from within the interrupt:
Usage:
The text was updated successfully, but these errors were encountered: