Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing yield() support #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

pfeerick
Copy link

@pfeerick pfeerick commented Apr 8, 2017

The yield function was added to the Arduino core to allow for cooperative scheduling, but in the case of the AVR core, is simply defined as a void function to prevent error in code that expects it, such as the FastLED library.

This patch removes the "error: 'yield' was not declared in this scope" compile failure from the digispark and digispark pro cores.

The yield function was added to the Arduino core to allow for
cooperative scheduling, but in the case of the AVR core, is simply
defined as a void function to prevent error in code that expects it,
such as the FastLED library. This patch removes the "error: 'yield' was
not declared in this scope" compile failure from the digispark and
digispark pro cores.
@pfeerick
Copy link
Author

pfeerick commented Apr 8, 2017

Closes #45

pfeerick added a commit to pfeerick/DigistumpArduino that referenced this pull request Sep 1, 2019
@ArminJo
Copy link

ArminJo commented May 4, 2020

This pull request is included in the new version 1.6.8 of Digistump avr core.

@ArminJo
Copy link

ArminJo commented Jun 2, 2020

So please close the pull request, since this repo is abandoned.

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.

2 participants