From a4e0619423c2bb587242fb9e52b4d5a14e8f43f1 Mon Sep 17 00:00:00 2001 From: kpl Date: Mon, 27 Jan 2020 17:48:59 -0500 Subject: [PATCH] cwSerialPortSrv.h/cpp : Code format changes. --- cwSerialPortSrv.cpp | 2 +- cwSerialPortSrv.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cwSerialPortSrv.cpp b/cwSerialPortSrv.cpp index 3741226..a686e2b 100644 --- a/cwSerialPortSrv.cpp +++ b/cwSerialPortSrv.cpp @@ -97,7 +97,7 @@ cw::serialPort::handle_t cw::serialPortSrv::portHandle( handle_t h ) return p->portH; } -cw::thread::handle_t cw::serialPortSrv::threadHandle( handle_t h ) +cw::thread::handle_t cw::serialPortSrv::threadHandle( handle_t h ) { this_t* p = _handleToPtr(h); return p->threadH; diff --git a/cwSerialPortSrv.h b/cwSerialPortSrv.h index f26993d..ee972ec 100644 --- a/cwSerialPortSrv.h +++ b/cwSerialPortSrv.h @@ -10,8 +10,8 @@ namespace cw rc_t create( handle_t& h, const char* device, unsigned baudRate, unsigned cfgFlags, serialPort::callbackFunc_t cbFunc, void* cbArg, unsigned pollPeriodMs ); rc_t destroy(handle_t& h ); - serialPort::handle_t portHandle( handle_t h ); - thread::handle_t threadHandle( handle_t h ); + serialPort::handle_t portHandle( handle_t h ); + thread::handle_t threadHandle( handle_t h ); rc_t start( handle_t h ); rc_t pause( handle_t h );