Fix jog back on djcontrol instinct
parent
b6068a73c0
commit
e00ab5e45b
|
@ -1428,10 +1428,10 @@ handle_event(uint8_t *msg, uint8_t portno, int depth, int recursive)
|
|||
} else if (msg[2] > 64) {
|
||||
int step = get_cc_step(tr, portno, chan, msg[1], -1);
|
||||
if (step) {
|
||||
int d = (msg[2]-64)/step;
|
||||
uint8_t d = (msg[2]-128)/step;
|
||||
while (d) {
|
||||
send_strokes(tr, portno, status, chan, msg[1], 0, 0, -1, depth);
|
||||
d--;
|
||||
d++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue