Shift Device/Action enums to avclan.h

This commit is contained in:
Allen Hill
2026-07-06 15:50:09 -07:00
parent 25e425a601
commit 554fca0582
9 changed files with 261 additions and 210 deletions
+3 -1
View File
@@ -8,6 +8,8 @@
#include <cstdint>
namespace avclan {
enum class Device : uint8_t;
struct Frame {
struct Print {
bool print : 1 = false; // print at all
@@ -27,7 +29,7 @@ struct Frame {
void print(Print print) const;
uint8_t reaction;
uint8_t owning_device;
Device owning_device;
bool is_unicast;
uint16_t controller_addr; // formerly "master"
uint16_t peripheral_addr; // formerly "slave"