-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Closed
Labels
Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino API
Description
Following the same pattern as in the case of serialEvent
, I'm proposing the following:
- provide an empty implementation of the
setup
andloop
functions; - mark all three 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 call init
.
P.P.S.: I'll provide in a minute the needed patch.
Pharap
Metadata
Metadata
Assignees
Labels
Component: CoreRelated to the code for the standard Arduino APIRelated to the code for the standard Arduino API