Skip to content

Commit

Permalink
digiIn opcodes fix
Browse files Browse the repository at this point in the history
  • Loading branch information
vlazzarini committed Dec 21, 2017
1 parent 1e556f7 commit b89e8ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Bela/BelaCsound.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ struct DigiIn : csnd::Plugin<1, 1> {
if(pin < 0 ) pin = 0;
if(pin > 15) pin = 15;
context = (BelaContext *) csound->host_data();
pinMode(context,pin,0);
pinMode(context,0,pin,0);
fcount = 0;
frms = context->digitalFrames;
return OK;
Expand Down

0 comments on commit b89e8ca

Please sign in to comment.