Skip to content

Fix Due support#3

Open
per1234 wants to merge 1 commit intopmjdebruijn:masterfrom
per1234:fix-due
Open

Fix Due support#3
per1234 wants to merge 1 commit intopmjdebruijn:masterfrom
per1234:fix-due

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