Skip to content

Conversation

cipriancraciun
Copy link

Following the same pattern as in the case of serialEvent, I've done the following:

  • provide an empty implementation of the setup and loop functions;
  • mark all three functions (setup, loop and main) as __attribute__ ((weak))
    so that the user is able to override them with customized versions;

See issue #1138

…eak))`

Following the same pattern as in the case of `serialEvent`, I've done the following:
 * provide an empty implementation of the `setup` and `loop` functions;
 * mark all three functions (`setup`, `loop` and `main`) as `__attribute__ ((weak))`
  so that the user is able to override them with customized versions;

See issue #1138
@cipriancraciun
Copy link
Author

I've made a different patch that doesn't give default implementation to the setup and loop functions.

(See pull request #1141.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant