daemon option --lockcounter added; m_busLocked replaced with m_lockCounter.
This commit is contained in:
@@ -60,7 +60,7 @@ bool Device::isValid()
|
||||
ssize_t Device::sendBytes(const unsigned char* buffer, size_t nbytes)
|
||||
{
|
||||
if (isValid() == false)
|
||||
return -1;
|
||||
return -1; // TODO RESULT_ERR_DEVICE
|
||||
|
||||
// write bytes to device
|
||||
return write(m_fd, buffer, nbytes);
|
||||
|
||||
Reference in New Issue
Block a user