diff --git a/tasmota/core_esp8266_waveform.cpp b/tasmota/core_esp8266_waveform.cpp index c6473ddf6..16bd7b40a 100644 --- a/tasmota/core_esp8266_waveform.cpp +++ b/tasmota/core_esp8266_waveform.cpp @@ -50,6 +50,7 @@ extern "C" { extern void _setPWMPeriodCC(uint32_t cc); extern bool _stopPWM(int pin); extern bool _setPWM(int pin, uint32_t cc); +extern int startWaveformClockCycles(uint8_t pin, uint32_t timeHighCycles, uint32_t timeLowCycles, uint32_t runTimeCycles); // Maximum delay between IRQs #define MAXIRQUS (10000) diff --git a/tasmota/core_esp8266_wiring_digital.cpp b/tasmota/core_esp8266_wiring_digital.cpp index de9804e4c..d3a8fa737 100644 --- a/tasmota/core_esp8266_wiring_digital.cpp +++ b/tasmota/core_esp8266_wiring_digital.cpp @@ -37,6 +37,7 @@ extern "C" { extern void _setPWMPeriodCC(uint32_t cc); extern bool _stopPWM(int pin); extern bool _setPWM(int pin, uint32_t cc); +extern void resetPins(); volatile uint32_t* const esp8266_gpioToFn[16] PROGMEM = { &GPF0, &GPF1, &GPF2, &GPF3, &GPF4, &GPF5, &GPF6, &GPF7, &GPF8, &GPF9, &GPF10, &GPF11, &GPF12, &GPF13, &GPF14, &GPF15 };