diff options
author | Ryan <fauxpark@gmail.com> | 2021-01-27 17:42:49 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-27 17:42:49 +1100 |
commit | 30b46fad5764b54ab4d47e9c4024f8030e1bf1a7 (patch) | |
tree | 9a9aa60158edf5adea802e33ee2db2ba4164145a /keyboards | |
parent | be897cbc2f9d542dfcc98c8e06aeb04179cc484c (diff) | |
download | qmk_firmware-30b46fad5764b54ab4d47e9c4024f8030e1bf1a7.tar.gz qmk_firmware-30b46fad5764b54ab4d47e9c4024f8030e1bf1a7.zip |
UART driver refactor (#11637)
Diffstat (limited to 'keyboards')
-rw-r--r-- | keyboards/mschwingen/modelm/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/nullbitsco/nibble/remote_kb.c | 1 | ||||
-rw-r--r-- | keyboards/nullbitsco/nibble/remote_kb.h | 1 | ||||
-rw-r--r-- | keyboards/nullbitsco/nibble/rules.mk | 7 |
4 files changed, 4 insertions, 7 deletions
diff --git a/keyboards/mschwingen/modelm/rules.mk b/keyboards/mschwingen/modelm/rules.mk index f3af26eeeb..6775dfa203 100644 --- a/keyboards/mschwingen/modelm/rules.mk +++ b/keyboards/mschwingen/modelm/rules.mk @@ -29,7 +29,7 @@ DYNAMIC_MACRO_ENABLE = yes UART_DEBUG = no SRC += matrix.c -QUANTUM_LIB_SRC += $(COMMON_DIR)/uart.c \ +QUANTUM_LIB_SRC += uart.c \ spi_master.c OPT_DEFS += -DSLEEP_LED_ENABLE # we need our own sleep callbacks to turn of WS2812 LEDs 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 |