Skip to content

Commit 20ca8f6

Browse files
committed
Use *voidPrtFuncPtr instead of *FeedHostProcessorWatchdogFuncPointer to align with mbed core
1 parent 16deaaf commit 20ca8f6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/WiFi.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ void WiFiClass::setTimeout(unsigned long timeout)
386386
_timeout = timeout;
387387
}
388388

389-
void WiFiClass::setFeedWatchdogFunc(FeedHostProcessorWatchdogFuncPointer func)
389+
void WiFiClass::setFeedWatchdogFunc(voidPrtFuncPtr func)
390390
{
391391
_feed_watchdog_func = func;
392392
}

src/WiFi.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,15 @@ extern "C" {
3737
#include "WiFiServer.h"
3838
#include "WiFiStorage.h"
3939

40-
typedef void(*FeedHostProcessorWatchdogFuncPointer)();
40+
typedef void(*voidPrtFuncPtr)();
4141

4242
class WiFiClass
4343
{
4444
private:
4545

4646
static void init();
4747
unsigned long _timeout;
48-
FeedHostProcessorWatchdogFuncPointer _feed_watchdog_func;
48+
voidPrtFuncPtr _feed_watchdog_func;
4949
public:
5050
WiFiClass();
5151

@@ -279,7 +279,7 @@ class WiFiClass
279279

280280
void setTimeout(unsigned long timeout);
281281

282-
void setFeedWatchdogFunc(FeedHostProcessorWatchdogFuncPointer func);
282+
void setFeedWatchdogFunc(voidPrtFuncPtr func);
283283
void feedWatchdog();
284284
};
285285

0 commit comments

Comments
 (0)