cwSerialPortSrv.h/cpp : Code format changes.
This commit is contained in:
parent
72b959690f
commit
a4e0619423
@ -97,7 +97,7 @@ cw::serialPort::handle_t cw::serialPortSrv::portHandle( handle_t h )
|
|||||||
return p->portH;
|
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);
|
this_t* p = _handleToPtr(h);
|
||||||
return p->threadH;
|
return p->threadH;
|
||||||
|
@ -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 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 );
|
rc_t destroy(handle_t& h );
|
||||||
|
|
||||||
serialPort::handle_t portHandle( handle_t h );
|
serialPort::handle_t portHandle( handle_t h );
|
||||||
thread::handle_t threadHandle( handle_t h );
|
thread::handle_t threadHandle( handle_t h );
|
||||||
|
|
||||||
rc_t start( handle_t h );
|
rc_t start( handle_t h );
|
||||||
rc_t pause( handle_t h );
|
rc_t pause( handle_t h );
|
||||||
|
Loading…
Reference in New Issue
Block a user