#include "can-message.hpp"
#include "../low-can-binding.hpp"
#include "canutil/write.h"
-#include "../bitfield/bitfield.h"
+#include "bitfield/bitfield.h"
/// @brief Class constructor
///
{
uint32_t can_id = s.get_message().get_id();
- struct utils::basic_bcm_msg<struct can_frame> bcm_msg;
+ struct utils::simple_bcm_msg bcm_msg;
struct can_frame cfd;
memset(&cfd, 0, sizeof(cfd));
cfd.data,
CAN_MAX_DLEN);
- bcm_msg.frames.push_back(cfd);
+ bcm_msg.frames = cfd;
if(can_socket_ << bcm_msg)
return 0;