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_; };