Skip to content

Commit a33dba0

Browse files
author
Me No Dev
committed
fix identation
1 parent 1ae4230 commit a33dba0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cores/esp8266/core_esp8266_wiring_pwm.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,18 +94,18 @@ void ICACHE_RAM_ATTR pwm_timer_isr(){
9494
static uint16_t steps[17];
9595
static uint32_t masks[17];
9696
if(current_step < stepcount){
97-
T1L = (pwm_steps[current_step+1] * pwm_multiplier);
98-
TEIE |= TEIE1;
99-
if(masks[current_step] & 0xFFFF) GPOC = masks[current_step] & 0xFFFF;
97+
T1L = (pwm_steps[current_step+1] * pwm_multiplier);
98+
TEIE |= TEIE1;
99+
if(masks[current_step] & 0xFFFF) GPOC = masks[current_step] & 0xFFFF;
100100
if(masks[current_step] & 0x10000) GP16O = 0;
101101
current_step++;
102102
} else {
103103
current_step = 0;
104104
stepcount = 0;
105105
if(pwm_mask == 0) return;
106-
T1L = (pwm_steps[current_step+1] * pwm_multiplier);
107-
TEIE |= TEIE1;
108-
if(pwm_mask & 0xFFFF) GPOS = pwm_mask & 0xFFFF;
106+
T1L = (pwm_steps[current_step+1] * pwm_multiplier);
107+
TEIE |= TEIE1;
108+
if(pwm_mask & 0xFFFF) GPOS = pwm_mask & 0xFFFF;
109109
if(pwm_mask & 0x10000) GP16O = 1;
110110
stepcount = pwm_steps_len;
111111
memcpy(steps, pwm_steps, (stepcount + 1) * 2);

0 commit comments

Comments
 (0)