From 41f95375a65a3f67a75258680d6d8b03bb4d678b Mon Sep 17 00:00:00 2001 From: Eddy Pedroni Date: Wed, 23 Jul 2025 14:05:13 +0200 Subject: Working with hardcoded routing table --- daemon/src/message.h | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 daemon/src/message.h (limited to 'daemon/src/message.h') diff --git a/daemon/src/message.h b/daemon/src/message.h deleted file mode 100644 index 4668e0c..0000000 --- a/daemon/src/message.h +++ /dev/null @@ -1,25 +0,0 @@ -#pragma once - -#include "types.h" - -#include -#include -#include - -namespace midi_router -{ - -struct Message -{ - Device_Id const * source_id; - std::array bytes; - - Message_Type - type() const - { - if (bytes[0] & 0xF0 == 0xF0) return static_cast(bytes[0]); - else return static_cast(bytes[0] >> 4); - } -}; - -} // namespace midi_router -- cgit v1.2.3