优化代码

This commit is contained in:
zogodo
2020-01-11 23:38:16 +08:00
parent 2db859f87c
commit cdbabf672b
4 changed files with 5 additions and 14 deletions

View File

@@ -169,7 +169,7 @@ void WifiInit(void)
void ApInit()
{
char ap_name[16];
sprintf(ap_name, ELAND_AP_SSID"-%s", str_mac+6);
sprintf(ap_name, ELAND_AP_SSID, str_mac+6);
os_log("ApInit ap_name[%s]", ap_name);
network_InitTypeDef_st wNetConfig;