mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-16 15:08:15 +08:00
修复代码错误
This commit is contained in:
@@ -52,11 +52,7 @@ OSStatus system_discovery_init( system_context_t * const inContext )
|
||||
inContext->micoStatus.mac[15], inContext->micoStatus.mac[16] );
|
||||
init.instance_name = (char*)__strdup(temp_txt);
|
||||
|
||||
#ifndef MICO_LOCAL_SERVER_PORT
|
||||
init.service_port = MICO_CONFIG_SERVER_PORT;
|
||||
#else
|
||||
init.service_port = MICO_LOCAL_SERVER_PORT;
|
||||
#endif
|
||||
|
||||
temp_txt2 = __strdup_trans_dot(inContext->micoStatus.mac);
|
||||
sprintf(temp_txt, "MAC=%s.", temp_txt2);
|
||||
|
||||
Reference in New Issue
Block a user