From 46a523a763603c0f53ce9190c2e603e634512e71 Mon Sep 17 00:00:00 2001 From: Karol Stasiak Date: Tue, 17 Mar 2020 01:59:02 +0100 Subject: [PATCH] Fix warnings in the c1531 module --- include/c1531.mfk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/c1531.mfk b/include/c1531.mfk index 0bfe83bc..08adcc73 100644 --- a/include/c1531.mfk +++ b/include/c1531.mfk @@ -18,7 +18,7 @@ sbyte _c1531_calculate_delta (byte old, byte new) { return mouse_delta } -byte _c1531_handle_x() { +void _c1531_handle_x() { static byte _c1531_old_pot_x sbyte mouse_delta byte new_pot_x @@ -39,7 +39,7 @@ byte _c1531_handle_x() { } } -byte _c1531_handle_y() { +void _c1531_handle_y() { static byte _c1531_old_pot_y byte new_pot_y sbyte mouse_delta