diff options
author | Xelus22 <17491233+Xelus22@users.noreply.github.com> | 2021-08-24 16:28:26 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-24 16:28:26 +1000 |
commit | 4e1c5887c5c08ebd2cf7868c8d9292aa728e7bf0 (patch) | |
tree | 24ff5bdf570a6a9f5a77a517005bffbb35e46b22 /keyboards/torn | |
parent | 6fd20acf4be76e7a2bd82d3dfd0a9bcca8c507eb (diff) | |
download | qmk_firmware-4e1c5887c5c08ebd2cf7868c8d9292aa728e7bf0.tar.gz qmk_firmware-4e1c5887c5c08ebd2cf7868c8d9292aa728e7bf0.zip |
[Core] Refactor OLED to allow easy addition of other types (#13454)
* add docs
* core changes
* update keyboards to new OLED
* updated users to new OLED
* update layouts to new OLED
* fixup docs
* drashna's suggestion
* fix up docs
* new keyboards with oled
* core split changes
* remaining keyboard files
* Fix The Helix keyboards oled options
* reflect develop
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: mtei <2170248+mtei@users.noreply.github.com>
Diffstat (limited to 'keyboards/torn')
-rw-r--r-- | keyboards/torn/bongocat.c | 2 | ||||
-rw-r--r-- | keyboards/torn/rules.mk | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/torn/bongocat.c b/keyboards/torn/bongocat.c index 593cd5d4a..00f5cda6a 100644 --- a/keyboards/torn/bongocat.c +++ b/keyboards/torn/bongocat.c | |||
@@ -16,7 +16,7 @@ | |||
16 | */ | 16 | */ |
17 | #include QMK_KEYBOARD_H | 17 | #include QMK_KEYBOARD_H |
18 | 18 | ||
19 | #ifdef OLED_DRIVER_ENABLE | 19 | #ifdef OLED_ENABLE |
20 | 20 | ||
21 | #define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0])) | 21 | #define ARRAY_SIZE(array) (sizeof(array) / sizeof(array[0])) |
22 | 22 | ||
diff --git a/keyboards/torn/rules.mk b/keyboards/torn/rules.mk index 3b808f499..8801760ee 100644 --- a/keyboards/torn/rules.mk +++ b/keyboards/torn/rules.mk | |||
@@ -17,7 +17,8 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
17 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 17 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
18 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | 18 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow |
19 | ENCODER_ENABLE = yes # Enable rotary encoder | 19 | ENCODER_ENABLE = yes # Enable rotary encoder |
20 | OLED_DRIVER_ENABLE = yes | 20 | OLED_ENABLE = yes |
21 | OLED_DRIVER = SSD1306 | ||
21 | WPM_ENABLE = yes | 22 | WPM_ENABLE = yes |
22 | CUSTOM_MATRIX = lite | 23 | CUSTOM_MATRIX = lite |
23 | 24 | ||