Fix build warnings
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user