From 207c2c703e5e255352022b680c287f93995b6991 Mon Sep 17 00:00:00 2001 From: "@CarlWachter" Date: Mon, 26 Feb 2024 18:14:21 +0100 Subject: [PATCH] Improper tx/rx access for testing --- include/sta/rtos/system/can_bus.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/sta/rtos/system/can_bus.hpp b/include/sta/rtos/system/can_bus.hpp index 11bc389..954a313 100644 --- a/include/sta/rtos/system/can_bus.hpp +++ b/include/sta/rtos/system/can_bus.hpp @@ -168,6 +168,9 @@ namespace sta */ void showStatistics(); + IsotpTransmitter tx_; + IsotpReceiver rx_; + private: /** * @brief Configure CAN filters. @@ -184,8 +187,7 @@ namespace sta private: CanController * controller_; - IsotpTransmitter tx_; - IsotpReceiver rx_; + SysMsgHandler handleSysMsg_; DataMsgHandler handleDataMsg_; };