From 120d5d5520eff41a06f6544df42547ec4602d007 Mon Sep 17 00:00:00 2001 From: Jay Greco Date: Mon, 9 May 2022 18:28:16 -0700 Subject: 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(-) (limited to 'keyboards/nullbitsco') diff --git a/keyboards/nullbitsco/common/remote_kb.c b/keyboards/nullbitsco/common/remote_kb.c index 4dcc9f4616..8e3f7f6766 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