mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-21 13:55:24 -04:00
refactor(graphics): unique_ptr ownership for display buffers
- TFTDisplay: linePixelBuffer/repaintChunkBuffer become unique_ptr<uint16_t[]> (nothrow allocation preserves the existing OOM log-and-fail path); the destructor's manual free block goes away. - BaseUIEInkDisplay: panelBuffer becomes unique_ptr<uint8_t[]>; the user-written destructor disappears. - EInkParallelDisplay: epaper and the ghosting dirtyPixels buffer become unique_ptr (make_unique zero-initializes, matching the old calloc); the destructor keeps only the async-task wait logic. No behavior change.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f