Move backlight config to data driven (#19910)
This commit is contained in:
		
							parent
							
								
									ba7546a334
								
							
						
					
					
						commit
						314f6c1ddb
					
				
					 1003 changed files with 1873 additions and 1684 deletions
				
			
		| 
						 | 
				
			
			@ -1,10 +1,6 @@
 | 
			
		|||
 | 
			
		||||
#pragma once
 | 
			
		||||
 | 
			
		||||
#ifdef BACKLIGHT_ENABLE
 | 
			
		||||
#define BACKLIGHT_PIN B6
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef RGBLIGHT_ENABLE
 | 
			
		||||
#define RGB_DI_PIN E2
 | 
			
		||||
#define RGBLED_NUM 13
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -2,5 +2,8 @@
 | 
			
		|||
    "usb": {
 | 
			
		||||
        "pid": "0xDEF1",
 | 
			
		||||
        "device_version": "0.0.1"
 | 
			
		||||
    },
 | 
			
		||||
    "backlight": {
 | 
			
		||||
        "pin": "B6"
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue