Fixes for Ploopy devices (#13144)
Co-authored-by: Drashna Jael're <drashna@live.com>
This commit is contained in:
		
							parent
							
								
									224dcac08f
								
							
						
					
					
						commit
						eba3d68394
					
				
					 10 changed files with 111 additions and 33 deletions
				
			
		| 
						 | 
				
			
			@ -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();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue