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

Fix Due support #3

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

Fix Due support #3

wants to merge 1 commit into from

Conversation

per1234
Copy link

@per1234 per1234 commented Aug 2, 2019

aadd309 broke support for the Arduino Due by removing the #include directive for Arduino.h:

E:\arduino\libraries\Arduino-Entropy-Library\Entropy.cpp: In member function 'void EntropyClass::initialize()':

E:\arduino\libraries\Arduino-Entropy-Library\Entropy.cpp:62:32: error: 'pmc_enable_periph_clk' was not declared in this scope

   pmc_enable_periph_clk(ID_TRNG);

In the spirit of that commit, I have added the #include directive for the specific header file that contains the declaration of pmc_enable_periph_clk.

pmjdebruijn@aadd309 broke support for the Arduino Due by removing the #include directive for Arduino.h:

E:\arduino\libraries\Arduino-Entropy-Library\Entropy.cpp: In member function 'void EntropyClass::initialize()':

E:\arduino\libraries\Arduino-Entropy-Library\Entropy.cpp:62:32: error: 'pmc_enable_periph_clk' was not declared in this scope

   pmc_enable_periph_clk(ID_TRNG);

In the spirit of that commit, I have added the #include directive for the specific header file that contains the declaration of pmc_enable_periph_clk.
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