mirror of
https://github.com/intrepidcs/icsscand.git
synced 2026-08-05 09:38:17 +02:00
Report transmit receipts to kernel
These will be used for IFF_ECHO
This commit is contained in:
@@ -277,8 +277,6 @@ void searchForDevices() {
|
||||
|
||||
// Create rx listener
|
||||
newDevice.device->addMessageCallback(icsneo::CANMessageCallback([serial](std::shared_ptr<icsneo::Message> message) {
|
||||
if(message->transmitted)
|
||||
return;
|
||||
auto canMessage = std::static_pointer_cast<icsneo::CANMessage>(message);
|
||||
const OpenDevice* openDevice = nullptr;
|
||||
std::lock_guard<std::mutex> lg(openDevicesMutex);
|
||||
|
||||
Reference in New Issue
Block a user