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

13 lines
306 B
C
Raw Normal View History

2023-03-25 18:10:25 +01:00
#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