This commit is contained in:
2025-07-27 20:50:14 -04:00
parent 3cbdf0845d
commit 74d370e21a
6 changed files with 31 additions and 22 deletions

View File

@@ -137,11 +137,11 @@ std::pair<std::vector<uint8_t>, std::vector<Orientation>> CommunicationRouter::g
}
}
// if (const auto id = connected_module_ids[0]; 0 == id) {
// connected_module_orientations[0] = Orientation_Deg0;
// } else {
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 };
}