[develop] Fix pimoroni trackball read address (#13810)
This commit is contained in:
parent
f587ee5b5b
commit
aeb252435d
@ -23,7 +23,7 @@
|
|||||||
# define TRACKBALL_ADDRESS 0x0A
|
# define TRACKBALL_ADDRESS 0x0A
|
||||||
#endif
|
#endif
|
||||||
#define TRACKBALL_WRITE ((TRACKBALL_ADDRESS << 1) | I2C_WRITE)
|
#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_set_rgbw(uint8_t red, uint8_t green, uint8_t blue, uint8_t white);
|
||||||
void trackball_check_click(bool pressed, report_mouse_t *mouse);
|
void trackball_check_click(bool pressed, report_mouse_t *mouse);
|
||||||
|
Loading…
Reference in New Issue
Block a user