aboutsummaryrefslogtreecommitdiff
path: root/drivers/sensors/paw3204.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/sensors/paw3204.h')
-rw-r--r--drivers/sensors/paw3204.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sensors/paw3204.h b/drivers/sensors/paw3204.h
index a4bb8e16a6..0bf5713548 100644
--- a/drivers/sensors/paw3204.h
+++ b/drivers/sensors/paw3204.h
@@ -41,7 +41,7 @@ typedef struct {
bool isMotion;
} report_paw3204_t;
-const pointing_device_driver_t paw3204_pointing_device_driver;
+extern const pointing_device_driver_t paw3204_pointing_device_driver;
/**
* @brief Initializes the sensor so it is in a working state and ready to
@@ -50,7 +50,7 @@ const pointing_device_driver_t paw3204_pointing_device_driver;
* @return true Initialization was a success
* @return false Initialization failed, do not proceed operation
*/
-void paw3204_init(void);
+bool paw3204_init(void);
/**
* @brief Reads and clears the current delta, and motion register values on the