mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-04 07:12:33 +01:00 
			
		
		
		
	Cleanup pmw3389.c (#19301)
This commit is contained in:
		
							parent
							
								
									102f22f7e9
								
							
						
					
					
						commit
						008f1312bb
					
				@ -8,8 +8,6 @@
 | 
				
			|||||||
#include "pmw33xx_common.h"
 | 
					#include "pmw33xx_common.h"
 | 
				
			||||||
#include "progmem.h"
 | 
					#include "progmem.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
extern const size_t pmw33xx_number_of_sensors;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
uint16_t pmw33xx_get_cpi(uint8_t sensor) {
 | 
					uint16_t pmw33xx_get_cpi(uint8_t sensor) {
 | 
				
			||||||
    if (sensor >= pmw33xx_number_of_sensors) {
 | 
					    if (sensor >= pmw33xx_number_of_sensors) {
 | 
				
			||||||
        return 0;
 | 
					        return 0;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user