CAN adopted, Linux work
This commit is contained in:
@@ -39,6 +39,7 @@ public:
|
||||
void setCANID(int id);
|
||||
int CANID() const;
|
||||
int readedCANID() const;
|
||||
void interrupt() override;
|
||||
|
||||
protected:
|
||||
bool openDevice() override;
|
||||
@@ -52,6 +53,7 @@ protected:
|
||||
DeviceInfoFlags deviceInfoFlags() const override {return PIIODevice::Reliable;}
|
||||
|
||||
private:
|
||||
PRIVATE_DECLARATION(PIP_EXPORT)
|
||||
int sock;
|
||||
int can_id, readed_id;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user