diff options
Diffstat (limited to 'keyboards/ploopyco/adns5050.c')
-rw-r--r-- | keyboards/ploopyco/adns5050.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/keyboards/ploopyco/adns5050.c b/keyboards/ploopyco/adns5050.c index fcf2f213e4..e12e56f20c 100644 --- a/keyboards/ploopyco/adns5050.c +++ b/keyboards/ploopyco/adns5050.c @@ -142,7 +142,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(); } |