Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
e28d7ab58c
10 changed files with 111 additions and 33 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue