Merge pull request #7862 from meshtastic/master

Backmerge from Master into develop
This commit is contained in:
Tom Fifield authored and GitHub committed 2025-09-08 11:23:22 +10:00
commit 227d0fa7dc
34 files changed
+251 -94

No files matched your search

+9
View File
@@ -1128,6 +1128,15 @@ TFTDisplay::TFTDisplay(uint8_t address, int sda, int scl, OLEDDISPLAY_GEOMETRY g
#endif
}
TFTDisplay::~TFTDisplay()
{
// Clean up allocated line pixel buffer to prevent memory leak
if (linePixelBuffer != nullptr) {
free(linePixelBuffer);
linePixelBuffer = nullptr;
}
}
// Write the buffer to the display memory
void TFTDisplay::display(bool fromBlank)
{