Skip to content

File object structure (FIL) must be a pointer #6

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

Merged
merged 1 commit into from
Sep 20, 2018

Conversation

fpistm
Copy link
Member

@fpistm fpistm commented Sep 19, 2018

Using the TFT library TFTBitmapLogo example, SD file opened is
passed to read function. If FIL is not a pointer (as it is copied thanks
the copy constructor), file read/write pointer (fptr) is never
incremented so always reading from beginning of the file.

Fix #1

Using the TFT library TFTBitmapLogo example, BMP file opened is
passed to read16/32 functions. If 'FIL _fil' is not a pointer
(as it is copied thanks the copy constructor), file read/write
pointer (fptr) is never incremented so always reading from
beginning of the file.

Fix stm32duino#1

Signed-off-by: Frederic Pillon <[email protected]>
@fpistm fpistm merged commit a9922f4 into stm32duino:master Sep 20, 2018
@fpistm fpistm deleted the Fix_1 branch September 20, 2018 08:03
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