diff options
author | ploopyco <54917504+ploopyco@users.noreply.github.com> | 2021-06-21 15:59:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 20:59:56 +0100 |
commit | eba3d68394ba7bdd15836c0f4f4bb3c44b4e1f91 (patch) | |
tree | 739bd84bbd19837a08dc59bfc88e98f87ecadafc /keyboards/ploopyco/adns5050.c | |
parent | 224dcac08fe65cd4b4ab275cac4aea1379c3528c (diff) |
Fixes for Ploopy devices (#13144)
Co-authored-by: Drashna Jael're <drashna@live.com>
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(); } |