diff options
author | Dasky <32983009+daskygit@users.noreply.github.com> | 2021-07-31 14:12:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-31 06:12:19 -0700 |
commit | aeb252435d0c161ebd22bd8210765609813fc632 (patch) | |
tree | 67264b36f536b8355b5189321b73e0d7fbafafbb /drivers | |
parent | f587ee5b5bcfea4d60e97983ae06a36a46f0f9bb (diff) |
[develop] Fix pimoroni trackball read address (#13810)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sensors/pimoroni_trackball.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sensors/pimoroni_trackball.h b/drivers/sensors/pimoroni_trackball.h index a30fb0bb8c..9e3c64c19c 100644 --- a/drivers/sensors/pimoroni_trackball.h +++ b/drivers/sensors/pimoroni_trackball.h @@ -23,7 +23,7 @@ # define TRACKBALL_ADDRESS 0x0A #endif #define TRACKBALL_WRITE ((TRACKBALL_ADDRESS << 1) | I2C_WRITE) -#define TRACKBALL_READ ((TRACKBALL_ADDRESS << 1) | I2C_READ) +#define TRACKBALL_READ (TRACKBALL_ADDRESS << 1) void trackball_set_rgbw(uint8_t red, uint8_t green, uint8_t blue, uint8_t white); void trackball_check_click(bool pressed, report_mouse_t *mouse); |