update main command line arguments
This commit is contained in:
2026-02-14 14:32:39 +01:00
parent fc654d1e39
commit e7c4f3956a
5 changed files with 65 additions and 45 deletions
+3 -3
View File
@@ -11,7 +11,7 @@
using json = nlohmann::json;
Q_FORWARD_DECLARE_OBJC_CLASS(CAN_Wrapper);
#include "CAN_wrapper.hpp"
Q_FORWARD_DECLARE_OBJC_CLASS(UI_item);
#endif
@@ -33,12 +33,12 @@ class Communication
* @brief Array of CAN interfaces
*
*/
CAN_Wrapper *can_if[3] = {nullptr, nullptr, nullptr};
std::unique_ptr<CAN_Wrapper> can_if[3] = {nullptr, nullptr, nullptr};
/**
* @brief Array of UART interfaces
*
*/
QSerialPort *uart_if[4] = {nullptr, nullptr, nullptr, nullptr};
std::unique_ptr<QSerialPort> uart_if[4] = {nullptr, nullptr, nullptr, nullptr};
};
/**