Skip to content

Commit

Permalink
Renamed client classes
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed May 13, 2024
1 parent 6e5c5f2 commit c089318
Show file tree
Hide file tree
Showing 39 changed files with 4 additions and 4 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ CVscpClient::setCallbackEx(std::function<void(vscpEventEx &ex, void *pobj)> call
{
m_callbackex = callback;
m_callbackObject = pData;
m_bActiveCallbackEv = true;

m_bActiveCallbackEx = true;
return VSCP_ERROR_SUCCESS;
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ vscpClientSocketCan::vscpClientSocketCan()
m_interface = "vcan0";
m_guid.getFromString("00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00");
m_flags = 0;
m_socket = -1;
m_socket = 0;
m_mode = CAN_MTU;

setResponseTimeout(3); // Response timeout 3 ms
Expand Down Expand Up @@ -993,7 +993,7 @@ workerThread(void *pData)
// printf("Socketcan event: %X:%X\n", pEvent->vscp_class, pEvent->vscp_type);

// Add to input queue only if no callback set
if (pObj->isCallbackEvActive() && pObj->isCallbackExActive()) {
if (!pObj->isCallbackEvActive() || !pObj->isCallbackExActive()) {
// std::cout << "add to receive queue" << std::endl;
pthread_mutex_lock(&pObj->m_mutexReceiveQueue);
pObj->m_receiveList.push_back(pEvent);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit c089318

Please sign in to comment.