wjklimek1 / SSD1322_OLED_library

Portable library for 256x64 OLED display with SSD1322 controller (with STM32F4 example project)
Other
35 stars 8 forks source link

Fix `set_buffer_size` function #2

Closed agarmash closed 1 month ago

agarmash commented 1 month ago

_buffer_width parameter of the function set_buffer_size was shadowing the identically named global variable, leading to incorrect operation of the function. This PR solves the issue.

wjklimek1 commented 1 month ago

Good catch! Thanks for improving code quality for a little bit.