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
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user