Add compile options

This commit is contained in:
Armel FAUVEAU
2024-07-21 15:28:53 +02:00
parent 33e0c1731d
commit 4078709ae9
2 changed files with 6 additions and 0 deletions

View File

@@ -223,10 +223,12 @@ void UI_DisplayStatus()
{
memcpy(line + x + 1, gFontLight, sizeof(gFontLight));
}
#ifdef ENABLE_FEAT_F4HWN_CHARGING_C
else if (gChargingWithTypeC)
{
memcpy(line + x + 1, BITMAP_USB_C, sizeof(BITMAP_USB_C));
}
#endif
// Battery
unsigned int x2 = LCD_WIDTH - sizeof(BITMAP_BatteryLevel1) - 0;