mirror of
https://github.com/qmk/qmk_userspace.git
synced 2025-09-21 19:29:46 -04:00
Formatting
This commit is contained in:
parent
03101b1624
commit
54b94fd016
19 changed files with 43 additions and 36 deletions
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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};
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue