Apply loop shorthand macros (#17159)
This commit is contained in:
		@@ -27,7 +27,7 @@
 | 
			
		||||
GPIO_TypeDef* FastIOPortMap[LastPort + 1];
 | 
			
		||||
 | 
			
		||||
void FastIO_init() {
 | 
			
		||||
  for (uint8_t i = 0; i < NUM_DIGITAL_PINS; i++)
 | 
			
		||||
  LOOP_L_N(i, NUM_DIGITAL_PINS)
 | 
			
		||||
    FastIOPortMap[STM_PORT(digitalPin[i])] = get_GPIO_Port(STM_PORT(digitalPin[i]));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user