changed the circular nature of dongle grabbing to even/odd based to eliminate chained dependency
This commit is contained in:
parent
6a3b577d79
commit
a29a321d75
4 changed files with 5 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ static void compile_op(t_coder *coder, t_state *state)
|
|||
t_dongle *first;
|
||||
t_dongle *second;
|
||||
|
||||
if (coder->right_dongle->idx < coder->left_dongle->idx)
|
||||
if (coder->idx % 2 == 0)
|
||||
{
|
||||
first = coder->left_dongle;
|
||||
second = coder->right_dongle;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue