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
Many FastArduino API classes define a public register_xxx_handler() method when it has callback methods to be called by an ISR (itself registered with one REGISTER_XXX macro).
In most cases currently, calling this method is the responsibility of the application developer, but it is easy to forget and in this case, it may take time to understand why the program does not seem to work at all!
The purpose of this issue is to review all FastArduino classes with a public register_xxx_handler() method, check if that method should rather be called at construction time, and if so, simply move its code to the constructor(s).
The text was updated successfully, but these errors were encountered:
Started working on this issue (branch register_methods_review).
All transformations done, examples adapted and doc updated.
Next step is to check all relevant examples and debug if needed.
Shall be finished this week-end.
Many FastArduino API classes define a public
register_xxx_handler()
method when it has callback methods to be called by an ISR (itself registered with oneREGISTER_XXX
macro).In most cases currently, calling this method is the responsibility of the application developer, but it is easy to forget and in this case, it may take time to understand why the program does not seem to work at all!
The purpose of this issue is to review all FastArduino classes with a public
register_xxx_handler()
method, check if that method should rather be called at construction time, and if so, simply move its code to the constructor(s).The text was updated successfully, but these errors were encountered: