Skip to content

Commit cbeb7c4

Browse files
Add conditional include to WiFiProv.h (#6192)
Resolves issue #6171
1 parent 754cedd commit cbeb7c4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/WiFiProv/src/WiFiProv.h

+5
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1818
*/
1919

20+
#ifndef WiFiProv_h
21+
#define WiFiProv_h
22+
2023
#include "WiFi.h"
2124
#include "wifi_provisioning/manager.h"
2225
//Select the scheme using which you want to provision
@@ -48,3 +51,5 @@ class WiFiProvClass
4851
};
4952

5053
extern WiFiProvClass WiFiProv;
54+
55+
#endif

0 commit comments

Comments
 (0)