diff --git a/src/avclan/peripheral.hpp b/src/avclan/peripheral.hpp index 5ea4c33..1113f3e 100644 --- a/src/avclan/peripheral.hpp +++ b/src/avclan/peripheral.hpp @@ -20,10 +20,12 @@ #include "stdshim.hpp" namespace avclan { - +namespace detail { enum class Party : uint8_t { Sender, Recipient }; +} template class Peripheral { + using Party = detail::Party; using enum Party; public: