From 5f277486759f8caaad61f0276a8f15f67e60ba14 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Sun, 15 May 2022 23:42:24 +0200 Subject: [PATCH] Somehow the bobbycar was blue since like forever --- main/screens.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/screens.cpp b/main/screens.cpp index a8d94cd..c39dd98 100644 --- a/main/screens.cpp +++ b/main/screens.cpp @@ -20,7 +20,9 @@ void initScreen() tft.fillScreen(TFT_WHITE); tft.setTextColor(TFT_BLACK, TFT_WHITE); tft.setTextFont(4); + espgui::tft.setSwapBytes(true); tft.pushImage(0, 40, bobbyicons::logo.WIDTH, bobbyicons::logo.HEIGHT, bobbyicons::logo.buffer); + espgui::tft.setSwapBytes(false); tft.drawString("Bobbycar-OS", 32, 200); tft.drawString("booting...", 32, 225); tft.setTextFont(2);