Format code according to conventions (#16322)
This commit is contained in:
		
							parent
							
								
									afcdd7079c
								
							
						
					
					
						commit
						63646e8906
					
				
					 345 changed files with 4916 additions and 3229 deletions
				
			
		| 
						 | 
				
			
			@ -106,12 +106,14 @@ void DRV_init(void) {
 | 
			
		|||
 | 
			
		||||
void DRV_rtp_init(void) {
 | 
			
		||||
    DRV_write(DRV_GO, 0x00);
 | 
			
		||||
    DRV_write(DRV_RTP_INPUT, 20);  // 20 is the lowest value I've found where haptics can still be felt.
 | 
			
		||||
    DRV_write(DRV_RTP_INPUT, 20); // 20 is the lowest value I've found where haptics can still be felt.
 | 
			
		||||
    DRV_write(DRV_MODE, 0x05);
 | 
			
		||||
    DRV_write(DRV_GO, 0x01);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void DRV_amplitude(uint8_t amplitude) { DRV_write(DRV_RTP_INPUT, amplitude); }
 | 
			
		||||
void DRV_amplitude(uint8_t amplitude) {
 | 
			
		||||
    DRV_write(DRV_RTP_INPUT, amplitude);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void DRV_pulse(uint8_t sequence) {
 | 
			
		||||
    DRV_write(DRV_GO, 0x00);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue