Skip to content

Commit

Permalink
[develop] Fix pimoroni trackball read address (qmk#13810)
Browse files Browse the repository at this point in the history
  • Loading branch information
daskygit authored Jul 31, 2021
1 parent 0d9f3a8 commit 65caf8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/sensors/pimoroni_trackball.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 65caf8b

Please sign in to comment.