ConfigTool/ConfigToolView.cpp
@@ -660,8 +660,8 @@ // TODO: 在此添加控件通知处理程序代码 CString s1; int res = ((CConfigToolDoc *)m_pDocument)->MyKlink.SetCommParam(); s1.Format(_T("Com Set = %d "),res); int res = GetDocument()->MyKlink.SetCommParam(); s1.Format(_T("Com Set = %d COM%d %d %s"),res, GetDocument()->MyKlink.m_nPort, GetDocument()->MyKlink.m_nBaudRate, GetDocument()->MyKlink.m_Settings); SysLog(s1); }