Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge branch 'feature/div-sync' into csboling-dev
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
src/ansible_grid.c
|
|
@@ -1397,7 +1397,7 @@ static void kria_set_tmul(uint8_t track, kria_modes_t mode, uint8_t new_tmul) { |
|
|
switch (div_sync) { |
|
|
case 1: |
|
|
if (note_div_sync) { |
|
|
if (mode == mTr || mode == mRpt) { |
|
|
if (mode == mTr || mode == mNote) { |
|
|
k.p[k.pattern].t[track].tmul[mTr] = new_tmul; |
|
|
k.p[k.pattern].t[track].tmul[mNote] = new_tmul; |
|
|
} else { |
|
|
@@ -1420,7 +1420,7 @@ static void kria_set_tmul(uint8_t track, kria_modes_t mode, uint8_t new_tmul) { |
|
|
case 2: |
|
|
for (uint8_t i = 0; i < 4; i++) { |
|
|
if (note_div_sync) { |
|
|
if (mode == mTr || mode == mRpt) { |
|
|
if (mode == mTr || mode == mNote) { |
|
|
k.p[k.pattern].t[i].tmul[mTr] = new_tmul; |
|
|
k.p[k.pattern].t[i].tmul[mNote] = new_tmul; |
|
|
} else { |
|
|
|