Overridable setup
, loop
and main
#1138
Labels
Component: Core
Related to the code for the standard Arduino API
setup
, loop
and main
#1138
Following the same pattern as in the case of
serialEvent
, I'm proposing the following:setup
andloop
functions;setup
,loop
andmain
) as__attribute__ (weak)
so that the user is able to override them with customized versions;P.S.: Granted that if the user overrides
main
he must manually callinit
.P.P.S.: I'll provide in a minute the needed patch.
The text was updated successfully, but these errors were encountered: