按规划继续工作

结论:修正 standalone 工具表 adapter 的工具查找顺序,使 M61 Q2 current-pocket 行为与 upstream rs274 -t -i 对齐,并将 tool_semantics 的 M61 事件纳入原生 side-by-side 基线。
This commit is contained in:
2026-06-08 12:28:43 +08:00
parent 775f0d9c4c
commit 0a98bb5ba0
5 changed files with 23 additions and 27 deletions

View File

@@ -88,11 +88,14 @@ int find_tool_index_for_tool(int toolno)
}
const auto &tools = tool_table();
for (int index = 0; index < CANON_POCKETS_MAX; ++index) {
for (int index = 1; index < CANON_POCKETS_MAX; ++index) {
if (tools[index].toolno == toolno) {
return index;
}
}
if (tools[0].toolno == toolno) {
return 0;
}
return -1;
}