From 326d3e312c74726814c39c9d112faab03c4a167c Mon Sep 17 00:00:00 2001 From: QuakeGod <QuakeGod@sina.com> Date: 星期日, 16 一月 2022 13:53:57 +0800 Subject: [PATCH] add status show function dialog --- 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