summaryrefslogtreecommitdiff
path: root/drivers/sensors/analog_joystick.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sensors/analog_joystick.c')
-rw-r--r--drivers/sensors/analog_joystick.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/sensors/analog_joystick.c b/drivers/sensors/analog_joystick.c
index 95f8cff23a..12256a8e7a 100644
--- a/drivers/sensors/analog_joystick.c
+++ b/drivers/sensors/analog_joystick.c
@@ -18,6 +18,8 @@
#include "analog.h"
#include "gpio.h"
#include "wait.h"
+#include "timer.h"
+#include <stdlib.h>
// Set Parameters
uint16_t minAxisValue = ANALOG_JOYSTICK_AXIS_MIN;