Skip to content

Commit

Permalink
Fix linker errors
Browse files Browse the repository at this point in the history
  • Loading branch information
igrr committed May 29, 2015
1 parent 5465f70 commit e8bdd50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cores/esp8266/core_esp8266_wiring_pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ void prep_pwm_steps(){
}
ETS_FRC1_INTR_DISABLE();
pwm_steps_len = pwm_temp_steps_len;
os_memcpy(pwm_steps, pwm_temp_steps, (pwm_temp_steps_len + 1) * 2);
os_memcpy(pwm_steps_mask, pwm_temp_masks, pwm_temp_steps_len * 4);
ets_memcpy(pwm_steps, pwm_temp_steps, (pwm_temp_steps_len + 1) * 2);
ets_memcpy(pwm_steps_mask, pwm_temp_masks, pwm_temp_steps_len * 4);
pwm_multiplier = F_CPU/(PWMRANGE * pwm_freq);
ETS_FRC1_INTR_ENABLE();
}
Expand Down

0 comments on commit e8bdd50

Please sign in to comment.