1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-07-02 14:22:55 +03:00

Move prototype for enablePhaseLockedWaveform linker magic into header that's included by default instead of particular internal core header. (#7996)

This commit is contained in:
Dirk O. Kaar
2021-04-22 23:02:54 +02:00
committed by GitHub
parent cfbbd6f22d
commit 457692101a
3 changed files with 5 additions and 8 deletions

View File

@ -23,7 +23,6 @@
Note that this sketch uses LED_BUILTIN to find the pin with the internal LED
*/
#include <core_esp8266_waveform.h>
#include <PolledTimeout.h>
esp8266::polledTimeout::periodicFastUs stepPeriod(50000);
@ -33,8 +32,8 @@ void setup() {
Serial.begin(115200);
Serial.println();
// This next line will call will cause the code to use the Phase-Locked waveform generator
// instead of the default one. Comment it out to try the default version.
// This next line will cause the code to use the Phase-Locked waveform generator
// instead of the default PWM-Locked one. Comment it out to try the default version.
// For more information on choosing between the two options, see the following pull requests:
// Phase-Locked generator: https://github.com/esp8266/Arduino/pull/7022
// PWM-Locked generator: https://github.com/esp8266/Arduino/pull/7231