From eea0893be9d4ef175ab26e8fea51d41fa33477ce Mon Sep 17 00:00:00 2001 From: Yao Chunli <56721587@qq.com> Date: 星期六, 28 五月 2022 08:20:57 +0800 Subject: [PATCH] change eventlog --- MTerm2/HvSerialPort.h | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/MTerm2/HvSerialPort.h b/MTerm2/HvSerialPort.h index 7d71d47..4a33ff3 100644 --- a/MTerm2/HvSerialPort.h +++ b/MTerm2/HvSerialPort.h @@ -2,7 +2,7 @@ class HvSerialPort { public: - double GetTimeMs() + double GetTimemS() { LARGE_INTEGER perfreq; LARGE_INTEGER percounter1; @@ -64,6 +64,7 @@ }; ~HvSerialPort() { + MyThreadProc1ToRun = 0; if (this->m_bOpened) { this->Close(); } this->hCom1 = INVALID_HANDLE_VALUE; -- Gitblit v1.9.1