Mark Peter Vargha / Joystick
Revision:
4:f2f560cb71fe
Parent:
3:cd36fdbb23f8
Child:
5:48ba213dfbb3
--- a/Joystick.cpp	Mon Feb 13 07:10:23 2017 +0000
+++ b/Joystick.cpp	Tue Feb 14 06:49:11 2017 +0000
@@ -10,7 +10,7 @@
     return x >= x_min && x <= x_max ? x : (x < x_min ? x_min : x_max);
 }
 
-void Joystick::process()
+void Joystick::process(void)
 {
     JoystickValue newValue(_xIn.read_u16(), _yIn.read_u16());
     if (!_calibrated) //Calibrating
@@ -66,3 +66,4 @@
     }
 }
 
+