Skip to content

Commit

Permalink
jsfx: remove unused variable from @block
Browse files Browse the repository at this point in the history
  • Loading branch information
attilammagyar committed Jul 16, 2024
1 parent cdfba87 commit 6d419e7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jsfx/MPE_Emulator_Lite.jsfx
Original file line number Diff line number Diff line change
Expand Up @@ -1817,11 +1817,10 @@ slider28:p_r5_reset=2<0,2,1{<? printf(TPL_RESETS); ?>}>Rule 5 Reset

@block
function process()
local(time_offset, msg1, msg2, msg3, channel, command, i, i2, out_event)
local(time_offset, msg1, msg2, msg3, command, i, i2, out_event)
(
while (midirecv(time_offset, msg1, msg2, msg3)) (
command = msg1 & 0xf0;
channel = msg1 & 0x0f;

(command == 0x80 || (command == 0x90 && msg3 == 0))
? proxy_note_off(time_offset, msg2, msg3)
Expand Down

0 comments on commit 6d419e7

Please sign in to comment.