File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ unsigned long arduino::WiFiClass::getTime() {
314
314
return 0 ;
315
315
}
316
316
317
- void arduino::WiFiClass::setFeedWatchdogFunc (voidPrtFuncPtr func)
317
+ void arduino::WiFiClass::setFeedWatchdogFunc (ArduinoPortentaH7WiFiFeedWatchdogFuncPtr func)
318
318
{
319
319
_feed_watchdog_func = func;
320
320
}
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ extern "C" {
54
54
namespace arduino {
55
55
56
56
typedef void * (*voidPrtFuncPtr)(void );
57
+ typedef void (*ArduinoPortentaH7WiFiFeedWatchdogFuncPtr)(void );
57
58
58
59
class WiFiClass
59
60
{
@@ -298,7 +299,7 @@ class WiFiClass
298
299
299
300
NetworkInterface *getNetwork ();
300
301
301
- void setFeedWatchdogFunc (voidPrtFuncPtr func);
302
+ void setFeedWatchdogFunc (ArduinoPortentaH7WiFiFeedWatchdogFuncPtr func);
302
303
void feedWatchdog ();
303
304
304
305
private:
@@ -321,7 +322,7 @@ class WiFiClass
321
322
bool isVisible (const char * ssid);
322
323
arduino::IPAddress ipAddressFromSocketAddress (SocketAddress socketAddress);
323
324
SocketAddress socketAddressFromIpAddress (arduino::IPAddress ip, uint16_t port);
324
- voidPrtFuncPtr _feed_watchdog_func = 0 ;
325
+ ArduinoPortentaH7WiFiFeedWatchdogFuncPtr _feed_watchdog_func = 0 ;
325
326
};
326
327
327
328
}
You can’t perform that action at this time.
0 commit comments