diff options
author | QMK Bot <hello@qmk.fm> | 2021-06-21 20:00:32 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-06-21 20:00:32 +0000 |
commit | e28d7ab58cbf5b9912a33fbe1b5a3a95d3449bea (patch) | |
tree | bdc3d935693faf7c886668db78da4b19b314d0cc /drivers | |
parent | 6901411bca0760ceb8acbe1f0c95feaed9d2aaeb (diff) | |
parent | eba3d68394ba7bdd15836c0f4f4bb3c44b4e1f91 (diff) |
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/sensors/adns5050.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sensors/adns5050.c b/drivers/sensors/adns5050.c index 3c4f5e258a..e7273977d5 100644 --- a/drivers/sensors/adns5050.c +++ b/drivers/sensors/adns5050.c @@ -138,7 +138,7 @@ uint8_t adns_read_reg(uint8_t reg_addr) { void adns_write_reg(uint8_t reg_addr, uint8_t data) { adns_cs_select(); - adns_serial_write(reg_addr); + adns_serial_write( 0b10000000 | reg_addr ); adns_serial_write(data); adns_cs_deselect(); } |