Disable tuner if active when a MIDI command is received
This commit is contained in:
parent
fcf504d9f0
commit
5c5d24cdd0
2 changed files with 52 additions and 30 deletions
|
|
@ -97,8 +97,6 @@ class Mustang {
|
|||
static const usb_id amp_ids[];
|
||||
bool isV2;
|
||||
|
||||
bool tuner_active;
|
||||
|
||||
AmpCC * curr_amp;
|
||||
|
||||
StompCC * curr_stomp;
|
||||
|
|
@ -121,6 +119,8 @@ class Mustang {
|
|||
void updateDelayObj( const unsigned char *data );
|
||||
void updateModObj( const unsigned char *data );
|
||||
|
||||
int checkOrDisableTuner( void );
|
||||
|
||||
inline bool is_type(const unsigned char *a, const unsigned char *b) {
|
||||
return ( 0==memcmp(a,b,2) );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue