Skip to content

Conversation

@ercanersoy
Copy link

Add outstring function and print filenames with outstring.

Add outstring function, print filenames with outstring.
Oops for two #deifne preprocessors.
Oops for ENABLE_AUTORUN.
@ercanersoy ercanersoy mentioned this pull request Jun 25, 2018
@BleuLlama
Copy link
Owner

Will not merge: The only necessary change is to print the output. The extra function is not needed, as the "files" command is just a file listing. you will never want to (nor should you) output the list of files to EEPROM, etc. It should just be a Serial.print( entry.name() );. Also, the last version of putchar( c ) is completely incorrect. putchar outputs a single character, and you're passing it a pointer to a string.

Delete outstring function, FILES command use Serial.print().
@ercanersoy
Copy link
Author

I'm delete the unneeded function and the line changed to Serial.println( entry.name() );.

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