sbrin / lopaka

Lopaka - Stunning graphics for embedded systems displays
https://lopaka.app
Apache License 2.0
315 stars 18 forks source link

Fix u8g2 for arduino to use drawXBMP with progmem #166

Closed sbrin closed 3 weeks ago

sbrin commented 1 month ago

When "Declare as PROGMEM" is set, the generated code still uses u8g2.drawXBM() when it should be using u8g2.drawXBMP(). If XBM is used, the graphics are not displayed correctly as it tries to display arbitrary RAM.

github-actions[bot] commented 1 month ago

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 53.27% 3346 / 6281
🔵 Statements 53.27% 3346 / 6281
🔵 Functions 23.18% 118 / 509
🔵 Branches 83.83% 223 / 266
File CoverageNo changed files found.
Generated in workflow #79