can interface

remove next mid
This commit is contained in:
2026-02-01 18:40:57 +01:00
parent 2484d75898
commit e25e2baa12
2 changed files with 0 additions and 10 deletions
-6
View File
@@ -33,9 +33,3 @@ void CAN_Interface::send_frame(const QCanBusFrame &frame)
{
m_canDevice->writeFrame(frame);
}
uint8_t CAN_Interface::next_mid()
{
return m_mid++;
}
-4
View File
@@ -1,6 +1,4 @@
#pragma once
#include <ctime>
#include <cstdint>
#include <QObject>
#include <QCanBus>
#include <QCanBusDevice>
@@ -14,11 +12,9 @@ class CAN_Interface : public QObject
~CAN_Interface();
void send_frame(const QCanBusFrame &frame);
uint8_t next_mid();
signals:
void frame_received(const QCanBusFrame frame);
private:
QCanBusDevice *m_canDevice;
uint8_t m_mid;
};