Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Joystick.cpp
- 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 @@ } } +