summaryrefslogtreecommitdiff
path: root/keyboards/nullbitsco
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-01-27 17:42:49 +1100
committerGitHub <noreply@github.com>2021-01-27 17:42:49 +1100
commit30b46fad5764b54ab4d47e9c4024f8030e1bf1a7 (patch)
tree9a9aa60158edf5adea802e33ee2db2ba4164145a /keyboards/nullbitsco
parentbe897cbc2f9d542dfcc98c8e06aeb04179cc484c (diff)
UART driver refactor (#11637)
Diffstat (limited to 'keyboards/nullbitsco')
-rw-r--r--keyboards/nullbitsco/nibble/remote_kb.c1
-rw-r--r--keyboards/nullbitsco/nibble/remote_kb.h1
-rw-r--r--keyboards/nullbitsco/nibble/rules.mk7
3 files changed, 3 insertions, 6 deletions
diff --git a/keyboards/nullbitsco/nibble/remote_kb.c b/keyboards/nullbitsco/nibble/remote_kb.c
index 2e36f5f22e..7a914993f3 100644
--- a/keyboards/nullbitsco/nibble/remote_kb.c
+++ b/keyboards/nullbitsco/nibble/remote_kb.c
@@ -27,6 +27,7 @@ This will require a new communication protocol, as the current one is limited.
*/
#include "remote_kb.h"
+#include "uart.h"
uint8_t
msg[UART_MSG_LEN],
diff --git a/keyboards/nullbitsco/nibble/remote_kb.h b/keyboards/nullbitsco/nibble/remote_kb.h
index e2b24655b5..f4b5c43f5d 100644
--- a/keyboards/nullbitsco/nibble/remote_kb.h
+++ b/keyboards/nullbitsco/nibble/remote_kb.h
@@ -16,7 +16,6 @@
#pragma once
#include "quantum.h"
-#include "tmk_core/common/uart.h"
#define SERIAL_UART_BAUD 153600 //low error rate for 32u4 @ 16MHz
diff --git a/keyboards/nullbitsco/nibble/rules.mk b/keyboards/nullbitsco/nibble/rules.mk
index 683e290866..9340214027 100644
--- a/keyboards/nullbitsco/nibble/rules.mk
+++ b/keyboards/nullbitsco/nibble/rules.mk
@@ -1,9 +1,6 @@
# MCU name
MCU = atmega32u4
-# Interrupt driven control endpoint task(+60)
-OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
-
# Bootloader selection
BOOTLOADER = atmel-dfu
@@ -31,5 +28,5 @@ CUSTOM_MATRIX = lite # Lite custom matrix
SRC += matrix.c \
bitc_led.c \
big_led.c \
- remote_kb.c \
- tmk_core/common/uart.c
+ remote_kb.c
+QUANTUM_LIB_SRC += uart.c