[Keymap] fixed oled turn-off issue for crkbd:gotham (#16748)

This commit is contained in:
Allen Choi
2022-04-13 16:03:01 +09:00
committed by GitHub
parent 6d816d94f7
commit 935af9e999
4 changed files with 18 additions and 13 deletions

View File

@@ -20,7 +20,16 @@
# define AUDIO_CLICKY
#endif
#define OLED_FONT_H "keyboards/crkbd/keymaps/gotham/glcdfont.c"
#ifdef OLED_ENABLE
# define OLED_FONT_H "keyboards/crkbd/keymaps/gotham/glcdfont.c"
# define SPLIT_LAYER_STATE_ENABLE
# define SPLIT_LED_STATE_ENABLE
# define SPLIT_MODS_ENABLE
# define SPLIT_OLED_ENABLE
# undef OLED_TIMEOUT
// due to timer_read() for render_prompt(), we have own implementation of oled time out
# define OLED_KEY_TIMEOUT 30000
#endif
#define RGBLIGHT_SLEEP