未验证 提交 536da8a9 编写于 作者: C Clemens Kirchgatterer 提交者: GitHub

Update WiFiProv.cpp

Do not pollute the global namespace with generic names like 'config' by declaring global variables 'static'.
上级 3274602e
......@@ -33,9 +33,10 @@
#undef IPADDR_NONE
#include "WiFi.h"
wifi_prov_mgr_config_t config;
scheme_t prov_scheme;
extern esp_err_t postToSysQueue(system_prov_event_t *);
static wifi_prov_mgr_config_t config;
static scheme_t prov_scheme;
static const uint8_t custom_service_uuid[16] = { 0xb4, 0xdf, 0x5a, 0x1c, 0x3f, 0x6b, 0xf4, 0xbf,
0xea, 0x4a, 0x82, 0x03, 0x04, 0x90, 0x1a, 0x02, };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册