Skip to content

SSD1309::lineClear does nothing #4

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

Open
blonguet opened this issue May 12, 2022 · 0 comments
Open

SSD1309::lineClear does nothing #4

blonguet opened this issue May 12, 2022 · 0 comments

Comments

@blonguet
Copy link

Subject of the issue

No change on screen when SSD1309::lineClear is called.

The current code is:

void SSD1309::lineClear(hd_extent_t x0, hd_extent_t y0, hd_extent_t x1, hd_extent_t y1, uint16_t width)
    {
		SSD1309_Bite_t pix;
		pix.bite = 0x00;
    }

Obviously, this line of code is missing:
line( x0, y0, x1, y1, width, (color_t)&pix);
It works fine with it.

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