daemon option --lockcounter added; m_busLocked replaced with m_lockCounter.

This commit is contained in:
Roland Jax
2014-11-08 11:37:44 +01:00
parent e4544a98ad
commit ca6c6c04bb
4 changed files with 30 additions and 25 deletions
+1 -1
View File
@@ -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);