From 4b9ee9d591b10091632b82a6868cab7b78071785 Mon Sep 17 00:00:00 2001 From: Jos van Mourik Date: Sun, 15 Sep 2024 21:37:43 +0200 Subject: [PATCH] Fix compiler warning --- src/device/mouse_microtouch_touchscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/mouse_microtouch_touchscreen.c b/src/device/mouse_microtouch_touchscreen.c index ca50a0b6b8..0aa0ce7279 100644 --- a/src/device/mouse_microtouch_touchscreen.c +++ b/src/device/mouse_microtouch_touchscreen.c @@ -240,7 +240,7 @@ mtouch_write(serial_t *serial, void *priv, uint8_t data) static int mtouch_prepare_transmit(void *priv) { - char buffer[10]; + char buffer[16]; mouse_microtouch_t *dev = (mouse_microtouch_t *) priv; double abs_x = dev->abs_x;