From 3cbdf0845df8079608599a2ab720c897317059a3 Mon Sep 17 00:00:00 2001 From: Johnathon Slightham Date: Sun, 27 Jul 2025 14:31:48 -0400 Subject: [PATCH] Update CommunicationRouter.cpp --- components/rpc/CommunicationRouter.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/components/rpc/CommunicationRouter.cpp b/components/rpc/CommunicationRouter.cpp index 6cf1f50..99689a2 100644 --- a/components/rpc/CommunicationRouter.cpp +++ b/components/rpc/CommunicationRouter.cpp @@ -137,14 +137,11 @@ std::pair, std::vector> CommunicationRouter::g } } - for (int i = 0; i < MAX_WIRED_CONNECTIONS; i++) { - const auto id = connected_module_ids[i]; - // if (const auto id = connected_module_ids[i]; 0 == id) { - // connected_module_orientations[i] = Orientation_Deg0; - // } else { - connected_module_orientations[i] = OrientationDetection::get_orientation(id); - // } - } + // if (const auto id = connected_module_ids[0]; 0 == id) { + // connected_module_orientations[0] = Orientation_Deg0; + // } else { + connected_module_orientations[0] = OrientationDetection::get_orientation(0); + // } return { connected_module_ids, connected_module_orientations }; }