aboutsummaryrefslogtreecommitdiff
path: root/keyboards
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2025-01-25 17:38:12 +1100
committerGitHub <noreply@github.com>2025-01-25 17:38:12 +1100
commita6e931400ead19d3d34ca4a57785d1512dc2d12b (patch)
tree7bd11496da317433f129f2736a94939987ccbac8 /keyboards
parent2dd2d4eb8124cc92c9fb27d657fd9742a75a51e4 (diff)
downloadqmk_firmware-a6e931400ead19d3d34ca4a57785d1512dc2d12b.tar.gz
qmk_firmware-a6e931400ead19d3d34ca4a57785d1512dc2d12b.zip
Relocate base WS2812 code (#24850)
Diffstat (limited to 'keyboards')
-rw-r--r--keyboards/ibm/model_m/mschwingen/mschwingen.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/keyboards/ibm/model_m/mschwingen/mschwingen.c b/keyboards/ibm/model_m/mschwingen/mschwingen.c
index cb4854d8d1..34a878c769 100644
--- a/keyboards/ibm/model_m/mschwingen/mschwingen.c
+++ b/keyboards/ibm/model_m/mschwingen/mschwingen.c
@@ -19,9 +19,12 @@
#include "uart.h"
#include "print.h"
#include "sendchar.h"
-#include "ws2812.h"
#include "sleep_led.h"
+#ifdef KEYBOARD_ibm_model_m_mschwingen_led_ws2812
+#include "ws2812.h"
+#endif
+
#ifdef UART_DEBUG
# undef sendchar
static int8_t capture_sendchar(uint8_t c) {