Skip to content

Commit 579dbb7

Browse files
committed
Fix linker errors
1 parent d50aa43 commit 579dbb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_wiring_pwm.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ void prep_pwm_steps(){
8181
}
8282
ETS_FRC1_INTR_DISABLE();
8383
pwm_steps_len = pwm_temp_steps_len;
84-
os_memcpy(pwm_steps, pwm_temp_steps, (pwm_temp_steps_len + 1) * 2);
85-
os_memcpy(pwm_steps_mask, pwm_temp_masks, pwm_temp_steps_len * 4);
84+
ets_memcpy(pwm_steps, pwm_temp_steps, (pwm_temp_steps_len + 1) * 2);
85+
ets_memcpy(pwm_steps_mask, pwm_temp_masks, pwm_temp_steps_len * 4);
8686
pwm_multiplier = F_CPU/(PWMRANGE * pwm_freq);
8787
ETS_FRC1_INTR_ENABLE();
8888
}

0 commit comments

Comments
 (0)