Change can interface

Now emits can frames via signal
This commit is contained in:
2026-02-01 18:40:16 +01:00
parent ad8f06ba9d
commit bd72cda97e
2 changed files with 6 additions and 8 deletions
+2 -2
View File
@@ -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;
};