diff options
| author | Old-Ding <[email protected]> | 2026-07-06 11:02:56 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-07-08 13:21:51 +0800 |
| commit | d8a7e3eeb03ef68b85d957aa2077d81f437ca67f (patch) | |
| tree | 40ffff839e9f486a6dde361e38938aec8f3b599f /components | |
| parent | 50c6853d38125d887aeeb8b0825207af605b0d97 (diff) | |
bsp: renesas: Fix LCD framebuffer bounds
The Renesas LCD helper treats LCD_WIDTH and LCD_HEIGHT as pixel counts. The framebuffer clear loop and lcd_draw_pixel() accepted those count values as valid indexes, which can write one pixel past the framebuffer.
Use strict bounds for the 0-based framebuffer indexes and adjust the 180-degree rotation mapping to target the last valid row and column.
Generated-by: OpenAI Codex
Signed-off-by: Old-Ding <[email protected]>
Diffstat (limited to 'components')
0 files changed, 0 insertions, 0 deletions
