Skip to content

Add missing yield() support#62

Open
pfeerick wants to merge 1 commit into
digistump:masterfrom
pfeerick:yield
Open

Add missing yield() support#62
pfeerick wants to merge 1 commit into
digistump:masterfrom
pfeerick:yield

Conversation

@pfeerick

@pfeerick pfeerick commented Apr 8, 2017

Copy link
Copy Markdown

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

pfeerick commented Apr 8, 2017

Copy link
Copy Markdown
Author

Closes #45

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

ArminJo commented May 4, 2020

Copy link
Copy Markdown

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

@ArminJo

ArminJo commented Jun 2, 2020

Copy link
Copy Markdown

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