mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
VividCAN: Better "Online Not Supported" Error
This commit is contained in:
@@ -23,7 +23,16 @@ public:
|
||||
return found;
|
||||
}
|
||||
|
||||
bool goOnline() override { return false; }
|
||||
// VividCAN does not go online, you can only set settings
|
||||
bool goOnline() override {
|
||||
report(APIEvent::Type::OnlineNotSupported, APIEvent::Severity::Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool goOffline() override {
|
||||
report(APIEvent::Type::OnlineNotSupported, APIEvent::Severity::Error);
|
||||
return false;
|
||||
}
|
||||
|
||||
private:
|
||||
VividCAN(neodevice_t neodevice) : Device(neodevice) {
|
||||
|
||||
Reference in New Issue
Block a user