mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
did some testing with custom hardware
This commit is contained in:
@@ -36,7 +36,7 @@ CAN_Interface::~CAN_Interface()
|
||||
delete m_canDevice;
|
||||
}
|
||||
|
||||
void CAN_Interface::send_frame(const QCanBusFrame &frame)
|
||||
void CAN_Interface::send_frame(const QCanBusFrame frame)
|
||||
{
|
||||
m_canDevice->writeFrame(frame);
|
||||
emit frame_send(frame);
|
||||
|
||||
@@ -11,10 +11,10 @@ class CAN_Interface : public QObject
|
||||
CAN_Interface(QString dev, QObject *parent = nullptr);
|
||||
~CAN_Interface();
|
||||
|
||||
void send_frame(const QCanBusFrame &frame);
|
||||
void send_frame(const QCanBusFrame frame);
|
||||
signals:
|
||||
void frame_received(const QCanBusFrame frame);
|
||||
void frame_send(const QCanBusFrame frame);
|
||||
void frame_received(QCanBusFrame frame);
|
||||
void frame_send(QCanBusFrame frame);
|
||||
|
||||
private:
|
||||
void processErrors(QCanBusDevice::CanBusError error) const;
|
||||
|
||||
Reference in New Issue
Block a user