diff --git a/bitmaps.h b/bitmaps.h index 99a92a6..35c39a1 100644 --- a/bitmaps.h +++ b/bitmaps.h @@ -10,10 +10,6 @@ extern const uint8_t BITMAP_RX[8]; extern const uint8_t BITMAP_BatteryLevel[2]; extern const uint8_t BITMAP_BatteryLevel1[17]; -extern const uint8_t BITMAP_BatteryLevel2[17]; -extern const uint8_t BITMAP_BatteryLevel3[17]; -extern const uint8_t BITMAP_BatteryLevel4[17]; -extern const uint8_t BITMAP_BatteryLevel5[17]; extern const uint8_t BITMAP_USB_C[9]; diff --git a/ui/status.c b/ui/status.c index 814112e..c86dcca 100644 --- a/ui/status.c +++ b/ui/status.c @@ -165,7 +165,7 @@ void UI_DisplayStatus() char s[8]; unsigned int space_needed; - unsigned int x2 = LCD_WIDTH - sizeof(BITMAP_BatteryLevel5) - 3; + unsigned int x2 = LCD_WIDTH - sizeof(BITMAP_BatteryLevel1) - 3; if (gChargingWithTypeC) x2 -= sizeof(BITMAP_USB_C); // the radio is on charge