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

httpServer.c file SDCARD support Broken #108

Open
jmulchin opened this issue Apr 10, 2021 · 0 comments
Open

httpServer.c file SDCARD support Broken #108

jmulchin opened this issue Apr 10, 2021 · 0 comments

Comments

@jmulchin
Copy link

After a LONG Debug session I have discovered that the httpServer.c file is broken when using the SDCard option. Reading files that are larger than the RXBUF[2048] in size fails because the code placed at lines #454 to 458 INCORRECTLY closes the currently opened file. So when you come back to read the remaining data, you get an “Invalid_Object” error code from FatFS. The lines between 454 to 458 MUST BE DELETED, and the lines at 209 to 211 were CORRECT all along.

Thanks
Jerry

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

No branches or pull requests

1 participant