We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6833d27 + ff5ed3b commit d1a2b79Copy full SHA for d1a2b79
ArduinoCore-Linux/cores/arduino/WiFi.h
@@ -13,6 +13,7 @@
13
14
namespace arduino {
15
16
+enum wifi_ps_type_t { WIFI_PS_NONE, WIFI_PS_MIN_MODEM, WIFI_PS_MAX_MODEM};
17
18
class WifiMock {
19
public:
@@ -29,8 +30,9 @@ class WifiMock {
29
30
return adress;
31
}
32
- void setSleep(bool){
33
- }
+ void setSleep(bool){}
34
+
35
+ void setSleep(wifi_ps_type_t) {}
36
37
int macAddress() {
38
return mac;
0 commit comments