Update GPIO macros in keymaps (#23792)
This commit is contained in:
		
							parent
							
								
									8ff8e9eae5
								
							
						
					
					
						commit
						b8f29c3865
					
				
					 82 changed files with 402 additions and 402 deletions
				
			
		| 
						 | 
				
			
			@ -51,10 +51,10 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
 | 
			
		|||
bool led_update_user(led_t led_state) {
 | 
			
		||||
    if (led_state.caps_lock) {
 | 
			
		||||
        rgblight_sethsv(HSV_CYAN);
 | 
			
		||||
        writePinHigh(D1);
 | 
			
		||||
        gpio_write_pin_high(D1);
 | 
			
		||||
    } else {
 | 
			
		||||
        rgblight_sethsv(HSV_GREEN);
 | 
			
		||||
        writePinLow(D1);
 | 
			
		||||
        gpio_write_pin_low(D1);
 | 
			
		||||
    }
 | 
			
		||||
    return false;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue