aboutsummaryrefslogtreecommitdiff
path: root/keyboards/zoo
diff options
context:
space:
mode:
authorXelus22 <17491233+Xelus22@users.noreply.github.com>2021-08-24 16:28:26 +1000
committerGitHub <noreply@github.com>2021-08-24 16:28:26 +1000
commit4e1c5887c5c08ebd2cf7868c8d9292aa728e7bf0 (patch)
tree24ff5bdf570a6a9f5a77a517005bffbb35e46b22 /keyboards/zoo
parent6fd20acf4be76e7a2bd82d3dfd0a9bcca8c507eb (diff)
downloadqmk_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/zoo')
-rw-r--r--keyboards/zoo/wampus/rules.mk2
-rw-r--r--keyboards/zoo/wampus/wampus.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/zoo/wampus/rules.mk b/keyboards/zoo/wampus/rules.mk
index 9b8648c33..02375d924 100644
--- a/keyboards/zoo/wampus/rules.mk
+++ b/keyboards/zoo/wampus/rules.mk
@@ -21,7 +21,7 @@ RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
21WS2812_DRIVER = spi # RGB underglow driver configuration 21WS2812_DRIVER = spi # RGB underglow driver configuration
22BLUETOOTH_ENABLE = no # Enable Bluetooth 22BLUETOOTH_ENABLE = no # Enable Bluetooth
23AUDIO_ENABLE = no # Audio output 23AUDIO_ENABLE = no # Audio output
24OLED_DRIVER_ENABLE = no # Enables the use of OLED displays 24OLED_ENABLE = no # Enables the use of OLED displays
25 25
26# Enter lower-power sleep mode when on the ChibiOS idle thread 26# Enter lower-power sleep mode when on the ChibiOS idle thread
27OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE 27OPT_DEFS += -DCORTEX_ENABLE_WFI_IDLE=TRUE
diff --git a/keyboards/zoo/wampus/wampus.c b/keyboards/zoo/wampus/wampus.c
index 1a333a70e..350d47a3e 100644
--- a/keyboards/zoo/wampus/wampus.c
+++ b/keyboards/zoo/wampus/wampus.c
@@ -15,7 +15,7 @@
15 */ 15 */
16 16
17#include "wampus.h" 17#include "wampus.h"
18#ifdef OLED_DRIVER_ENABLE 18#ifdef OLED_ENABLE
19 19
20void board_init(void) { 20void board_init(void) {
21 SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP; 21 SYSCFG->CFGR1 |= SYSCFG_CFGR1_I2C1_DMA_RMP;