Skip to content

Commit d1a2b79

Browse files
committed
2 parents 6833d27 + ff5ed3b commit d1a2b79

File tree

1 file changed

+4
-2
lines changed
  • ArduinoCore-Linux/cores/arduino

1 file changed

+4
-2
lines changed

ArduinoCore-Linux/cores/arduino/WiFi.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
namespace arduino {
1515

16+
enum wifi_ps_type_t { WIFI_PS_NONE, WIFI_PS_MIN_MODEM, WIFI_PS_MAX_MODEM};
1617

1718
class WifiMock {
1819
public:
@@ -29,8 +30,9 @@ class WifiMock {
2930
return adress;
3031
}
3132

32-
void setSleep(bool){
33-
}
33+
void setSleep(bool){}
34+
35+
void setSleep(wifi_ps_type_t) {}
3436

3537
int macAddress() {
3638
return mac;

0 commit comments

Comments
 (0)