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