Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

bradjc
Copy link
Contributor

@bradjc bradjc commented Jan 12, 2024

Pull Request Overview

Since end is calculated relative to start, if start moves up but end doesn't, we need to compensate by only including the size of the starting buffer.

Testing Strategy

Working on a screen driver for the ssd1306 oled.

TODO or Help Wanted

This fix got my other code working. Is there a better way to write this logic entirely? This is now the second issue.

Documentation Updated

  • Updated the relevant files in /docs, or no updates are required.

Formatting

  • Ran make prepush.

Since end is calculated relative to start, if start moves up but end
doesn't, we need to compensate by only including the size of the
starting buffer.
@bradjc bradjc added the bug label Jan 18, 2024
@bradjc
Copy link
Contributor Author

bradjc commented Jan 24, 2024

I made a note of adding unit tests in #3504

@lschuermann lschuermann added this pull request to the merge queue Jan 24, 2024
Merged via the queue into master with commit b8868bb Jan 24, 2024
@lschuermann lschuermann deleted the kernel-subslice-calculation branch January 24, 2024 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants