Fix remote id cannot modify error

This commit is contained in:
dijunkun
2023-10-11 15:20:53 +08:00
parent 60c3390203
commit 8064130356

View File

@@ -548,7 +548,9 @@ int main() {
static const char *connect_label = "Connect";
{
static char remote_id[20] = "";
if (strcmp(remote_id, "") == 0) {
strcpy(remote_id, GetMac(mac_addr).c_str());
}
ImGui::Text("REMOTE ID:");
ImGui::SameLine();
ImGui::SetNextItemWidth(110);