From 4766f47e7e73cc1148a65794f0778424787b3647 Mon Sep 17 00:00:00 2001 From: Rune Harlyk Date: Tue, 8 Jul 2025 18:16:24 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=B0=EF=B8=8F=20Removes=20old=20topic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- esp32/include/topic.hpp | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/esp32/include/topic.hpp b/esp32/include/topic.hpp index dd95e9f..a4c13e8 100644 --- a/esp32/include/topic.hpp +++ b/esp32/include/topic.hpp @@ -29,29 +29,3 @@ static Msg parse(JsonVariantConst v) { msg.fromJson(v); return msg; } - -// enum class Topic : uint8_t { -// Imu = 0, -// Command = 1, -// Mode = 2, -// COUNT // Should always be the last -// }; - -// template -// struct TopicTraits; - -// template <> -// struct TopicTraits { -// using Msg = ImuMsg; -// static constexpr Topic id = Topic::Imu; -// }; -// template <> -// struct TopicTraits { -// using Msg = CommandMsg; -// static constexpr Topic id = Topic::Command; -// }; -// template <> -// struct TopicTraits { -// using Msg = ModeMsg; -// static constexpr Topic id = Topic::Mode; -// }; \ No newline at end of file