Fix build warnings

This commit is contained in:
Puck Meerburg
2026-02-06 18:09:21 +00:00
parent 4eb0c6cdd2
commit 634ebad7cd
6 changed files with 26 additions and 27 deletions

View File

@@ -38,7 +38,7 @@ static void boop()
LowPower_Shutdown(0);
}
static void render_xbm(unsigned char *bits, struct row_buf *b) {
static void render_xbm(uint8_t *bits, struct row_buf *b) {
uint16_t fb[45] = {0};
int index = 0;
for (int j = 0; j < 11; j++) {
@@ -58,7 +58,7 @@ int menu_index = 0;
static int was_button_pressed[BUTTON_COUNT] = {0};
void menu_render(void) {
char buffer[(48 * 11) / 8];
uint8_t buffer[(48 * 11) / 8];
memcpy(buffer, menu_bits, sizeof(buffer));
int invert_index = 1 + menu_index * 13;
for (int i = invert_index; i < (invert_index + 9); i++) {