Skip to content

Commit

Permalink
[MACRO] Fix source controller index
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Oct 15, 2023
1 parent f214182 commit 15e53ca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main/adapter/adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ void adapter_bridge(struct bt_data *bt_data) {
#endif
adapter_debug_wired_print(&ctrl_output[0]);
#endif
ctrl_output[bt_data->base.pids->out_idx].index = bt_data->base.pids->out_idx;
sys_macro_hdl(&ctrl_output[bt_data->base.pids->out_idx], &bt_data->base.flags[PAD]);
for (uint32_t i = 0; out_mask; i++, out_mask >>= 1) {
if (out_mask & 0x1) {
Expand Down

0 comments on commit 15e53ca

Please sign in to comment.