From 877b2442c4c7cfced9517e86d438e6fa1b575c58 Mon Sep 17 00:00:00 2001 From: Lenczu Vex Date: Mon, 2 Dec 2024 20:09:33 +0100 Subject: Much fixes --- ibus.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ibus.h') diff --git a/ibus.h b/ibus.h index fb1d7fb..0c9ac12 100644 --- a/ibus.h +++ b/ibus.h @@ -8,6 +8,7 @@ #define IBusSize 0x20 #define startByteBeta 0x40 -typedef uint8_t[IBusSize] IBusFrame -typedef uint16_t[15] channelValues +typedef uint8_t IBusFrame[IBusSize]; +typedef uint16_t channelValues[15]; +int encodeIBus(IBusFrame frame, channelValues vals); #endif -- cgit v1.2.3-70-g09d2