mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-27 06:01:14 +01:00
server
move to communication struct
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "can_debugger.hpp"
|
||||
|
||||
Can_Debugger::Can_Debugger(CAN_Wrapper *can_wrapper, QSerialPort *serial, QObject *parent)
|
||||
: Simulator_base("Can Debugger", can_wrapper, serial, std::chrono::milliseconds(100), parent),
|
||||
m_wrapper(can_wrapper), m_can_ui(Color::Black, Color::White)
|
||||
Can_Debugger::Can_Debugger(Communication *com, QObject *parent)
|
||||
: Simulator_base("Can Debugger", com, std::chrono::milliseconds(100), parent),
|
||||
m_wrapper(com->c_if1), m_can_ui(Color::Black, Color::White)
|
||||
{
|
||||
PUSH_UI_ITEM(m_can_ui);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user