Remove more UNUSED_PINS defines (#18940)
				
					
				
			This commit is contained in:
		
							parent
							
								
									5fb80562f1
								
							
						
					
					
						commit
						db2aa039f1
					
				
					 24 changed files with 0 additions and 68 deletions
				
			
		| 
						 | 
				
			
			@ -188,19 +188,6 @@ void keyboard_pre_init_kb(void) {
 | 
			
		|||
    setPinInput(OPT_ENC1);
 | 
			
		||||
    setPinInput(OPT_ENC2);
 | 
			
		||||
 | 
			
		||||
    /* Ground all output pins connected to ground. This provides additional
 | 
			
		||||
     * pathways to ground. If you're messing with this, know this: driving ANY
 | 
			
		||||
     * of these pins high will cause a short. On the MCU. Ka-blooey.
 | 
			
		||||
     */
 | 
			
		||||
#ifdef UNUSED_PINS
 | 
			
		||||
    const pin_t unused_pins[] = UNUSED_PINS;
 | 
			
		||||
 | 
			
		||||
    for (uint8_t i = 0; i < (sizeof(unused_pins) / sizeof(pin_t)); i++) {
 | 
			
		||||
        setPinOutput(unused_pins[i]);
 | 
			
		||||
        writePinLow(unused_pins[i]);
 | 
			
		||||
    }
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
    // This is the debug LED.
 | 
			
		||||
#if defined(DEBUG_LED_PIN)
 | 
			
		||||
    setPinOutput(DEBUG_LED_PIN);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue