From 9a008b91f8ae3f55bff00bb9a2f6fd0c7f50d2a8 Mon Sep 17 00:00:00 2001 From: Jay Greco Date: Mon, 9 May 2022 18:28:16 -0700 Subject: [PATCH] Update RMKB to support SNAP (#17042) --- keyboards/nullbitsco/common/remote_kb.c | 10 +++++----- keyboards/nullbitsco/common/remote_kb.h | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/keyboards/nullbitsco/common/remote_kb.c b/keyboards/nullbitsco/common/remote_kb.c index 4dcc9f461622..8e3f7f6766d9 100644 --- a/keyboards/nullbitsco/common/remote_kb.c +++ b/keyboards/nullbitsco/common/remote_kb.c @@ -62,13 +62,12 @@ static void send_msg(uint16_t keycode, bool pressed) { msg[IDX_KCMSB] = (keycode >> 8) & 0xFF; msg[IDX_PRESSED] = pressed; msg[IDX_CHECKSUM] = chksum8(msg, UART_MSG_LEN-1); - uart_transmit(msg, UART_MSG_LEN); } -static void print_message_buffer(void) { +static inline void print_message_buffer(void) { for (int i=0; i