aboutsummaryrefslogtreecommitdiff
path: root/drivers/sensors/adns5050.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sensors/adns5050.h')
-rw-r--r--drivers/sensors/adns5050.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sensors/adns5050.h b/drivers/sensors/adns5050.h
index 4dfcbc3c70..648b49e387 100644
--- a/drivers/sensors/adns5050.h
+++ b/drivers/sensors/adns5050.h
@@ -70,12 +70,12 @@ typedef struct {
int8_t dy;
} report_adns5050_t;
-const pointing_device_driver_t adns5050_pointing_device_driver;
+extern const pointing_device_driver_t adns5050_pointing_device_driver;
// A bunch of functions to implement the ADNS5050-specific serial protocol.
// Note that the "serial.h" driver is insufficient, because it does not
// manually manipulate a serial clock signal.
-void adns5050_init(void);
+bool adns5050_init(void);
void adns5050_sync(void);
uint8_t adns5050_serial_read(void);
void adns5050_serial_write(uint8_t data);