From 70c9905cb647c345b7d8dda479c1c16f6776b1b5 Mon Sep 17 00:00:00 2001 From: zvecr Date: Fri, 18 Mar 2022 21:43:01 +0000 Subject: [PATCH] clang --- tmk_core/protocol/vusb/vusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tmk_core/protocol/vusb/vusb.c b/tmk_core/protocol/vusb/vusb.c index ab5f447fd8..8e120b4ca9 100644 --- a/tmk_core/protocol/vusb/vusb.c +++ b/tmk_core/protocol/vusb/vusb.c @@ -206,7 +206,7 @@ void xap_send_base(uint8_t *data, uint8_t length) { void xap_send(xap_token_t token, uint8_t response_flags, const void *data, size_t length) { uint8_t rdata[XAP_BUFFER_SIZE] = {0}; - *(xap_token_t *)&rdata[0] = token; + *(xap_token_t *)&rdata[0] = token; if (length > (XAP_BUFFER_SIZE - 4)) response_flags &= ~(XAP_RESPONSE_FLAG_SUCCESS); rdata[2] = response_flags; if (response_flags & (XAP_RESPONSE_FLAG_SUCCESS)) {