Skip to content

Commit

Permalink
[GC] Fix digital trigger not working simultaneously
Browse files Browse the repository at this point in the history
  • Loading branch information
darthcloud committed Aug 12, 2023
1 parent b51f328 commit 157deda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/wired/nsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ static void gc_pad_cmd_hdlr(uint8_t channel, uint8_t port, uint16_t item) {
gc_l_trig_prev_state = 0;
}
if (buf[11] > 0x30) {
if (gc_l_trig_prev_state < 2) {
if (gc_r_trig_prev_state < 2) {
gc_r_trig_prev_state++;
}
}
Expand Down

0 comments on commit 157deda

Please sign in to comment.