Skip to content

Commit c9a3cd6

Browse files
committed
all-in functional squash commit.
1 parent 137d421 commit c9a3cd6

File tree

10 files changed

+435
-305
lines changed

10 files changed

+435
-305
lines changed

cores/esp8266/Arduino.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ void optimistic_yield(uint32_t interval_us);
229229
#include <algorithm>
230230
#include <cstdlib>
231231
#include <cmath>
232+
#include "Delegate.h"
232233

233234

234235
#include "mmu_iram.h"
@@ -275,6 +276,8 @@ void setTZ(const char* tz);
275276
void configTime(const char* tz, const char* server1,
276277
const char* server2 = nullptr, const char* server3 = nullptr);
277278

279+
void attachInterrupt(uint8_t pin, Delegate<void(), void*> userFunc, int mode);
280+
278281
// configures with approximated TZ value. part of the old api, prefer configTime with TZ variable
279282
void configTime(int timezone, int daylightOffset_sec, const char* server1,
280283
const char* server2 = nullptr, const char* server3 = nullptr);

cores/esp8266/FunctionalInterrupt.cpp

Lines changed: 0 additions & 65 deletions
This file was deleted.

cores/esp8266/FunctionalInterrupt.h

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)