Skip to content
This repository has been archived by the owner on Apr 9, 2019. It is now read-only.

Bug Fix: Arduino 1.0.4 readDIr needs reference to variable #7

Open
filmo opened this issue Aug 11, 2013 · 1 comment
Open

Bug Fix: Arduino 1.0.4 readDIr needs reference to variable #7

filmo opened this issue Aug 11, 2013 · 1 comment

Comments

@filmo
Copy link

filmo commented Aug 11, 2013

while (root.readDir(p) > 0) {

Needs to become:

while (root.readDir(&p) > 0) {

Otherwise I got:
call to 'SdBaseFile::readDir' declared with attribute error: use readDir(&dir)

Adding issue here incase somebody else uses the tutorial and comes across the same issue.

@niesteszeck
Copy link

I have a pending pull request that adds functionallity to this example and has repaired this issue
#6

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants