Fix AVR boards which were overriding backlight without setting… (#8044)
* Add backlight custom driver to all boards not declaring it but overriding backlight * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> * Apply suggestions from code review Co-Authored-By: fauxpark <fauxpark@gmail.com> * Remove old tmk references from show_options.mk Co-authored-by: fauxpark <fauxpark@gmail.com>
This commit is contained in:
		
							parent
							
								
									7514f5124a
								
							
						
					
					
						commit
						4139de3cc9
					
				
					 23 changed files with 39 additions and 34 deletions
				
			
		| 
						 | 
				
			
			@ -47,22 +47,6 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
			
		|||
/* COL2ROW, ROW2COL*/
 | 
			
		||||
#define DIODE_DIRECTION COL2ROW
 | 
			
		||||
 | 
			
		||||
// #define BACKLIGHT_PIN D4
 | 
			
		||||
// #define BACKLIGHT_BREATHING
 | 
			
		||||
// #define BACKLIGHT_LEVELS 3
 | 
			
		||||
 | 
			
		||||
/* number of backlight levels */
 | 
			
		||||
#ifdef BREATHING_LED_ENABLE
 | 
			
		||||
#ifdef FADING_LED_ENABLE
 | 
			
		||||
#define BACKLIGHT_LEVELS 8
 | 
			
		||||
#else
 | 
			
		||||
#define BACKLIGHT_LEVELS 6
 | 
			
		||||
#endif
 | 
			
		||||
#else
 | 
			
		||||
#define BACKLIGHT_LEVELS 3
 | 
			
		||||
#endif
 | 
			
		||||
#define BACKLIGHT_CUSTOM
 | 
			
		||||
 | 
			
		||||
/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
 | 
			
		||||
#define DEBOUNCE 5
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue