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

fix issue with blitFrameBuffer not working on Adafruit CLUE (HT @jimsbugs) #708

Merged
merged 2 commits into from
Dec 29, 2021

Conversation

dstieglitz
Copy link
Contributor

Fixes an issue identified here https://forums.adafruit.com/viewtopic.php?f=65&t=185669 where blitFrameBuffer hangs on Adafruit CLUE

libraries/SPI/SPI.cpp Outdated Show resolved Hide resolved
Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

excellent and very detailed explanation. Thank you very much for the PR. Since this issue affects all variants, so we should apply the change for all, would you mind push update to drop the cast entirely for all variants.

    // each transfer can only up to 64KB (16-bit) bytes
    const size_t xfer_len = min(count, UINT16_MAX);

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you, look great, will merge after ci passed

@dstieglitz
Copy link
Contributor Author

Thanks for the excellent fix/explanation @jimsbugs

@hathach hathach merged commit c20491b into adafruit:master Dec 29, 2021
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.

None yet

3 participants