mirror of
https://github.com/intrepidcs/icsscand.git
synced 2026-09-21 16:48:21 +02:00
Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f7e4af48c2 | ||
|
|
a69c41c9d5 |
@@ -1,3 +1,6 @@
|
||||
v2.0.2
|
||||
Use libicsneo v0.1.2 to resolve LEDs not indicating device status
|
||||
|
||||
v2.0.1
|
||||
Set timeout tv_sec instead of tv_usec for compatibility with older kernels
|
||||
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
cmake_minimum_required(VERSION 3.2)
|
||||
project(libicsneo-socketcan-daemon VERSION 2.0.1)
|
||||
project(libicsneo-socketcan-daemon VERSION 2.0.2)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Version 2.0.1
|
||||
Version 2.0.2
|
||||
|
||||
This is the usermode daemon for the Intrepid Control Systems SocketCAN support. This daemon requires that ```intrepid.ko``` is loaded on your system.
|
||||
|
||||
|
||||
+2
-3
@@ -223,8 +223,7 @@ void searchForDevices() {
|
||||
});
|
||||
if(!newDevice.device->open() || !newDevice.device->goOnline()) {
|
||||
if(firstTimeFailedToOpen) {
|
||||
icsneo::APIError err;
|
||||
icsneo::GetLastError(err);
|
||||
icsneo::APIEvent err = icsneo::GetLastError();
|
||||
LOGF(LOG_INFO, "%s failed to connect. Will keep trying...\n%s\n", newDevice.device->describe().c_str(), err.describe().c_str());
|
||||
failedToOpen.push_back(serial);
|
||||
}
|
||||
@@ -320,7 +319,7 @@ void searchForDevices() {
|
||||
openDevices.end()
|
||||
);
|
||||
|
||||
for(const auto& err : icsneo::GetErrors()) {
|
||||
for(const auto& err : icsneo::GetEvents()) {
|
||||
bool forErrorDevice = false;
|
||||
for(const auto& dev : failedToOpen) {
|
||||
if(err.isForDevice(dev)) {
|
||||
|
||||
Vendored
+1
-1
Submodule third-party/libicsneo updated: 0b4ffdbaad...f16ee630ee
Reference in New Issue
Block a user