Battery level displaying

This commit is contained in:
Clément Grennerat
2025-09-15 15:43:15 +02:00
parent 13c4e50264
commit 7291a9eef3
6 changed files with 395 additions and 262 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
#define COLOR_SECONDARY 0x667f
#define COLOR_SUCCESS 0x3766
#define COLOR_ERROR 0xf226
#define COLOR_BG 0xFFFF
#define COLOR_FG 0x0000
#define COLOR_FG 0xFFFF
#define COLOR_BG 0x0000
#define COLOR_OFF 0x0000
+1 -1
View File
@@ -41,7 +41,7 @@ void GFX_DrawChar(
uint16_t GFX_GetTextWidth(const char *text, const GFXfont *font, int8_t letter_spacing);
// Alignment: 0 => Left, 1 => Center, 2 => Right
void GFX_DrawText(
uint16_t GFX_DrawText(
uint16_t x,
uint16_t y,
const char *text,