File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 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() {
314314 return 0 ;
315315}
316316
317- void arduino::WiFiClass::setFeedWatchdogFunc (voidPrtFuncPtr func)
317+ void arduino::WiFiClass::setFeedWatchdogFunc (ArduinoPortentaH7WiFiFeedWatchdogFuncPtr func)
318318{
319319 _feed_watchdog_func = func;
320320}
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ extern "C" {
5454namespace arduino {
5555
5656typedef void * (*voidPrtFuncPtr)(void );
57+ typedef void (*ArduinoPortentaH7WiFiFeedWatchdogFuncPtr)(void );
5758
5859class WiFiClass
5960{
@@ -298,7 +299,7 @@ class WiFiClass
298299
299300 NetworkInterface *getNetwork ();
300301
301- void setFeedWatchdogFunc (voidPrtFuncPtr func);
302+ void setFeedWatchdogFunc (ArduinoPortentaH7WiFiFeedWatchdogFuncPtr func);
302303 void feedWatchdog ();
303304
304305private:
@@ -321,7 +322,7 @@ class WiFiClass
321322 bool isVisible (const char * ssid);
322323 arduino::IPAddress ipAddressFromSocketAddress (SocketAddress socketAddress);
323324 SocketAddress socketAddressFromIpAddress (arduino::IPAddress ip, uint16_t port);
324- voidPrtFuncPtr _feed_watchdog_func = 0 ;
325+ ArduinoPortentaH7WiFiFeedWatchdogFuncPtr _feed_watchdog_func = 0 ;
325326};
326327
327328}
You can’t perform that action at this time.
0 commit comments