Fix compilation

This commit is contained in:
Stephan Hadinger 2020-04-22 15:00:38 +02:00
parent 32dfa7856b
commit d1beb59332
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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 };