diff options
author | Kosuke Adachi <ks@fstn.jp> | 2018-10-20 01:12:55 +0900 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-10-19 09:12:55 -0700 |
commit | 78b48371aac3bc4ba468c9f7efcb742bafb81965 (patch) | |
tree | 95975a9202c821a0518d73acd2da64cc059624c2 /keyboards/crkbd/keymaps/like_jis/keymap.c | |
parent | efc88a0b16055dc0b2f94da8c46ea8fadeab70f4 (diff) | |
download | qmk_firmware-78b48371aac3bc4ba468c9f7efcb742bafb81965.tar.gz qmk_firmware-78b48371aac3bc4ba468c9f7efcb742bafb81965.zip |
Keyboard: Update logo and commonize it (#4151)
* Update logo and commonize it
* Move the glcdfont.c to the lib and add it to the SRC values of the rules.mk in the keymap folders
* Add static
Diffstat (limited to 'keyboards/crkbd/keymaps/like_jis/keymap.c')
-rw-r--r-- | keyboards/crkbd/keymaps/like_jis/keymap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/crkbd/keymaps/like_jis/keymap.c b/keyboards/crkbd/keymaps/like_jis/keymap.c index 90e5b7ec17..05d31845c8 100644 --- a/keyboards/crkbd/keymaps/like_jis/keymap.c +++ b/keyboards/crkbd/keymaps/like_jis/keymap.c @@ -109,7 +109,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { int RGB_current_mode; // Setting ADJUST layer RGB back to default -inline void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) { +static inline void update_tri_layer_RGB(uint8_t layer1, uint8_t layer2, uint8_t layer3) { if (IS_LAYER_ON(layer1) && IS_LAYER_ON(layer2)) { layer_on(layer3); } else { @@ -155,7 +155,7 @@ void matrix_scan_user(void) { iota_gfx_task(); } -inline void matrix_render_user(struct CharacterMatrix *matrix) { +static inline void matrix_render_user(struct CharacterMatrix *matrix) { if (is_master) { // If you want to change the display of OLED, you need to change here matrix_write_ln(matrix, read_layer_state()); @@ -171,7 +171,7 @@ inline void matrix_render_user(struct CharacterMatrix *matrix) { } } -inline void matrix_update(struct CharacterMatrix *dest, const struct CharacterMatrix *source) { +static inline void matrix_update(struct CharacterMatrix *dest, const struct CharacterMatrix *source) { if (memcmp(dest->display, source->display, sizeof(dest->display))) { memcpy(dest->display, source->display, sizeof(dest->display)); dest->dirty = true; |