summaryrefslogtreecommitdiffstats
path: root/keyboards/lets_split/rev2/rev2.c
diff options
context:
space:
mode:
authorJack Humbert <jack.humb@gmail.com>2017-03-28 09:13:41 -0400
committerGitHub <noreply@github.com>2017-03-28 09:13:41 -0400
commit8a0cf32cf557ce59f6cf81ded80dfa5afbdb61b2 (patch)
tree6f223cfb5dd7b6f0a347d479dd339ca2ec015f20 /keyboards/lets_split/rev2/rev2.c
parent0f986a195183b2f1c38d2e607229657282574752 (diff)
parent2573e581a52d88e0722f33e6137e37a018ac0b25 (diff)
Merge pull request #1171 from ishtob/master
SSD1306 I2C OLED display support for let's split
Diffstat (limited to 'keyboards/lets_split/rev2/rev2.c')
-rw-r--r--keyboards/lets_split/rev2/rev2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/keyboards/lets_split/rev2/rev2.c b/keyboards/lets_split/rev2/rev2.c
index c505d3a6e3..8bfa171d01 100644
--- a/keyboards/lets_split/rev2/rev2.c
+++ b/keyboards/lets_split/rev2/rev2.c
@@ -5,6 +5,13 @@
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
#endif
+#ifdef SSD1306OLED
+void led_set_kb(uint8_t usb_led) {
+ // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
+ led_set_user(usb_led);
+}
+#endif
+
void matrix_init_kb(void) {
#ifdef AUDIO_ENABLE
@@ -30,3 +37,4 @@ void shutdown_user(void) {
stop_all_notes();
#endif
}
+