Move USB_MAX_POWER_CONSUMPTION to data driven (#20648)
				
					
				
			This commit is contained in:
		
							parent
							
								
									12d42cedd2
								
							
						
					
					
						commit
						2944e93870
					
				
					 99 changed files with 90 additions and 226 deletions
				
			
		| 
						 | 
				
			
			@ -16,8 +16,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#define USB_MAX_POWER_CONSUMPTION 100
 | 
			
		||||
 | 
			
		||||
#define TAP_CODE_DELAY 10
 | 
			
		||||
 | 
			
		||||
  #define RGBLED_NUM 10  /*Change for the number of leds on the strip you attach*/
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -6,7 +6,8 @@
 | 
			
		|||
    "usb": {
 | 
			
		||||
        "vid": "0x3415",
 | 
			
		||||
        "pid": "0x0001",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
        "device_version": "0.0.1",
 | 
			
		||||
        "max_power": 100
 | 
			
		||||
    },
 | 
			
		||||
    "matrix_pins": {
 | 
			
		||||
        "cols": ["C4", "C3", "C2", "C1", "C0", "D7", "D6", "A7", "A4", "A5", "A6", "A3", "A2", "A1", "A0"],
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue