diff --git a/device/src/dongle_leds.h b/device/src/dongle_leds.h index 3dd7ceda..a4f15892 100644 --- a/device/src/dongle_leds.h +++ b/device/src/dongle_leds.h @@ -22,4 +22,6 @@ extern const struct pwm_dt_spec green_pwm_led; extern const struct pwm_dt_spec blue_pwm_led; +#else + #include "stubs.h" #endif // __DONGLE_LEDS_H__ diff --git a/device/src/keyboard/oled/fonts/font_awesome_12.c b/device/src/keyboard/oled/fonts/font_awesome_12.c index 65ee1f23..5d9fc2e7 100644 --- a/device/src/keyboard/oled/fonts/font_awesome_12.c +++ b/device/src/keyboard/oled/fonts/font_awesome_12.c @@ -197,12 +197,6 @@ static const lv_font_fmt_txt_cmap_t cmaps[] = } }; -void DebugFont() { - for (uint8_t i = 0; i < 5; i++) { - printk("Glyph %d: %d\n", i, glyph_dsc[i].bitmap_index); - } -} - /*-------------------- * ALL CUSTOM DATA *--------------------*/ diff --git a/device/src/keyboard/oled/fonts/font_awesome_12.h b/device/src/keyboard/oled/fonts/font_awesome_12.h index a92e3ff8..5c170f87 100644 --- a/device/src/keyboard/oled/fonts/font_awesome_12.h +++ b/device/src/keyboard/oled/fonts/font_awesome_12.h @@ -4,6 +4,12 @@ // Typedefs: +/** + * Instructions to add a new glyph: + * - Generate a .c lv font file using instructions in fonts.h" + * - Add the glyph's data into the glyph_bitmap array in font_awesome_12.c + * - Add the metadata into font_awesome_12_data.h + * */ typedef enum { #define GLYPH_DATA(INDEX0, INDEX1, NAME, ADVW, BOXW, BOXH, OFSX, OFSY) FontIcon_##NAME = 32+INDEX0,