summaryrefslogtreecommitdiffstats
path: root/keyboards/40percentclub/ut47/keymaps/rgb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-12-15 22:00:39 +1100
committerGitHub <noreply@github.com>2021-12-15 11:00:39 +0000
commitc12268807d8622a05dc445e6101a575eae16860d (patch)
treeaa9c32aac0a35235143c012ca1d021fe43b0c818 /keyboards/40percentclub/ut47/keymaps/rgb
parentc0bb15315170f9265143833ad879b7c8f87b06ac (diff)
Migrate serial_uart usages to UART driver (#15479)
* Migrate Thermal Printer feature to UART driver * Migrate 40percentclub UT47 to UART driver * Migrate Centromere to UART driver * Migrate Chimera Ergo to UART driver * Migrate Chimera Let's Split to UART driver * Migrate Chimera Ortho to UART driver * Migrate Chimera Ortho Plus to UART driver * Migrate Comet46 to UART driver * Migrate Palm USB converter to UART driver * Migrate Sun USB converter to UART driver * Migrate Dichotomy to UART driver * Migrate Honeycomb to UART driver * Migrate Mitosis to UART driver * Migrate Redox W to UART driver * Migrate Uni660 to UART driver * Migrate Telophase to UART driver
Diffstat (limited to 'keyboards/40percentclub/ut47/keymaps/rgb')
-rw-r--r--keyboards/40percentclub/ut47/keymaps/rgb/keymap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c b/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c
index ae8ad3e378..75dba3a2d4 100644
--- a/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c
+++ b/keyboards/40percentclub/ut47/keymaps/rgb/keymap.c
@@ -15,7 +15,7 @@
*/
#include QMK_KEYBOARD_H
#ifdef LED_ENABLE
- #include "protocol/serial.h"
+ #include "uart.h"
#endif
#define LT3_TAB LT(3, KC_TAB)
@@ -60,11 +60,11 @@ LAYOUT( /* Tab */
//LED keymap functions
#ifdef LED_ENABLE
void led_chmode(void) {
- serial_send(101);
+ uart_write(0x65);
}
void led_toggle(void) {
- serial_send(100);
+ uart_write(0x64);
}
bool process_record_user(uint16_t keycode, keyrecord_t *record) {