feat: add mask tool

This commit is contained in:
zmv
2026-09-30 17:04:29 +08:00
parent f87e5aad40
commit 4eff3825be
30 changed files with 895 additions and 226 deletions
+4 -1
View File
@@ -5,7 +5,10 @@
#include <vector>
namespace cms {
inline constexpr unsigned liveCanChannelCount=1; // CH0 only; CH1 is not used.
inline constexpr unsigned canReceiveChannel=0;
inline constexpr unsigned canTransmitChannel=1;
inline constexpr unsigned canHardwareChannelCount=2;
inline constexpr unsigned liveCanChannelCount=1; // Only CH0 contributes live receive data.
struct CanConfig {
bool enabled{true};
int device_index{0};