Skip to content

Commit

Permalink
Fix issue #19: Don't allow internal stop during midi slave sync in ed…
Browse files Browse the repository at this point in the history
…it mode
  • Loading branch information
rv0 committed Jun 10, 2019
1 parent 5459bc6 commit 5dc5fc9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Yocto/Check_Edit_Button.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void Check_Edit_Button_Pattern_Edit()
//----------------------
//check le bouton play
case 1: // Play button.
if(old_selected_mode==0 || old_selected_mode==3){
if (sync_mode == MASTER) {
button_play_count++;
if(button_play_count==1){
play=1;
Expand Down Expand Up @@ -150,7 +150,7 @@ void Check_Edit_Button_Pattern()
//----------------------
//check le bouton play
case 1:
if(sync_mode == MASTER){//selected_mode==0 || selected_mode==3){
if (sync_mode == MASTER) {
button_play_count++;
if(button_play_count==1){
//ppqn_count=0;
Expand All @@ -165,7 +165,6 @@ void Check_Edit_Button_Pattern()
first_stop=1;
}
}
//Serial.println(play,DEC);//DEBUGG
break;
//-------------------------
//check bouton scale
Expand Down

0 comments on commit 5dc5fc9

Please sign in to comment.