mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
Fix rebase errors
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
#include <QObject>
|
||||
#include <QCanBus>
|
||||
#include <QCanBusDevice>
|
||||
#include <QCanBusFrame>
|
||||
|
||||
class CAN_Interface : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CAN_Interface(QString dev, QObject *parent = nullptr);
|
||||
~CAN_Interface();
|
||||
|
||||
void send_frame(const QCanBusFrame frame);
|
||||
signals:
|
||||
void frame_received(QCanBusFrame frame);
|
||||
void frame_send(QCanBusFrame frame);
|
||||
|
||||
private:
|
||||
void processErrors(QCanBusDevice::CanBusError error) const;
|
||||
QCanBusDevice *m_canDevice;
|
||||
};
|
||||
Reference in New Issue
Block a user