Skip to content

Commit f1b1294

Browse files
committed
Remove enablePhaseLockedWaveform().
1 parent 5ace3b7 commit f1b1294

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

cores/esp8266/core_esp8266_features.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,9 +123,6 @@ inline int esp_get_cpu_freq_mhz()
123123
#endif
124124

125125

126-
// Call this function in your setup() to cause the phase locked version of the generator to
127-
// be linked in automatically. Otherwise, the default PWM locked version will be used.
128-
void enablePhaseLockedWaveform(void);
129126

130127
// Determine when the sketch runs on ESP8285
131128
#if !defined(CORE_MOCK)
@@ -136,7 +133,6 @@ inline bool esp_is_8285()
136133
return false;
137134
}
138135
#endif
139-
140136
#ifdef __cplusplus
141137
}
142138
#endif

libraries/esp8266/examples/FadePolledTimeout/FadePolledTimeout.ino

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,6 @@ void setup() {
3232
Serial.begin(115200);
3333
Serial.println();
3434

35-
// This next line will cause the code to use the Phase-Locked waveform generator
36-
// instead of the default PWM-Locked one. Comment it out to try the default version.
37-
// For more information on choosing between the two options, see the following pull requests:
38-
// Phase-Locked generator: https://github.com/esp8266/Arduino/pull/7022
39-
// PWM-Locked generator: https://github.com/esp8266/Arduino/pull/7231
40-
enablePhaseLockedWaveform();
41-
4235
pinMode(LED_BUILTIN, OUTPUT); // Initialize the LED_BUILTIN pin as an output
4336
analogWriteRange(1000);
4437

0 commit comments

Comments
 (0)