mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Change can interface
Now emits can frames via signal
This commit is contained in:
@@ -14,9 +14,9 @@ class CAN_Interface : public QObject
|
||||
~CAN_Interface();
|
||||
|
||||
void send_frame(const QCanBusFrame &frame);
|
||||
QCanBusFrame read_frame();
|
||||
signals:
|
||||
void frames_received();
|
||||
void frame_received(const QCanBusFrame frame);
|
||||
|
||||
private:
|
||||
QCanBusDevice *m_canDevice;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user