Formatting

This commit is contained in:
VeyPatch 2024-12-10 14:13:02 +01:00
commit 54b94fd016
19 changed files with 43 additions and 36 deletions

View file

@ -10,6 +10,9 @@
// Initialize the font
static painter_font_handle_t thintel;
painter_device_t lcd;
painter_device_t lcd_surface;
// This function is ran on bootup of the keyboard
bool module_post_init_user(void) {
// Load the font in to memory.

View file

@ -25,6 +25,7 @@ __attribute__((weak)) bool display_module_housekeeping_task_user(bool second_dis
return true;
}
module_t module_master;
module_t module;
#ifdef HLC_NONE
module_t module = hlc_none;

View file

@ -11,7 +11,7 @@ typedef enum module {
hlc_tft_display
} module_t;
module_t module_master;
extern module_t module_master;
bool module_post_init_kb(void);
bool module_housekeeping_task_kb(void);

View file

@ -37,6 +37,9 @@ static uint16_t lcd_surface_fb[135*240];
int color_value = 0;
painter_device_t lcd;
painter_device_t lcd_surface;
led_t last_led_usb_state = {0};
layer_state_t last_layer_state = {0};

View file

@ -25,8 +25,8 @@
// #define HSV_LAYER_8 213, 56, 255
#define HSV_LAYER_UNDEF 0, 255, 255
painter_device_t lcd;
painter_device_t lcd_surface;
extern painter_device_t lcd;
extern painter_device_t lcd_surface;
void draw_grid(void);
void update_grid(void);