Unify full firmware profiles and add dual USB logging

This commit is contained in:
mikecarper committed 2026-08-23 19:22:45 -07:00
1 parent 9ed9e9d746
commit 5362d36ac7
56 files changed
+1652 -361

No files matched your search

+3 -2
View File
@@ -442,11 +442,12 @@ bool ST7735Display::begin() {
// alloc offscreen canvas
sprite = new TFT_eSprite(&lcd);
if (!sprite) {
Serial.println("ST7735Display: failed to alloc canvas");
mesh::usbLoggingPort().println("ST7735Display: failed to alloc canvas");
return false;
}
if (!sprite->createSprite(160, 80)) {
Serial.println("ST7735Display: failed to alloc canvas pixels");
mesh::usbLoggingPort().println(
"ST7735Display: failed to alloc canvas pixels");
delete sprite;
sprite = NULL;
return false;