Switch ISOTP and UDS handlers to no longer be static.
Now each can be instantiated multiple times with each instance handling a different ISOTP or UDS stream. This should streamline some upcoming code
This commit is contained in:
@@ -9,7 +9,7 @@ ISOTP_InterpreterWindow::ISOTP_InterpreterWindow(const QVector<CANFrame> *frames
|
||||
ui->setupUi(this);
|
||||
modelFrames = frames;
|
||||
|
||||
decoder = ISOTP_HANDLER::getInstance();
|
||||
decoder = new ISOTP_HANDLER;
|
||||
|
||||
decoder->setReception(true);
|
||||
decoder->setProcessAll(true);
|
||||
|
||||
Reference in New Issue
Block a user