base-station/Firmware/src/Messages/Message.h

12 lines
306 B
C++

#pragma once
#include <Arduino.h>
#include <FreeRTOS/Mutex.h>
#include <Messages/Protocol.h>
#include <etl/utility.h>
#include <etl/vector.h>
namespace message {
using Message =
etl::pair<etl::vector<uint8_t, message::protocol::MAX_PAYLOAD_LEN>,
freertos::Mutex>;
} // namespace message