cwSerialPortSrv.h/cpp : Code format changes.

This commit is contained in:
kpl 2020-01-27 17:48:59 -05:00
parent 72b959690f
commit a4e0619423
2 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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 );