Skip to content

Commit 6fc4ff5

Browse files
author
mars
committed
fixed typo
1 parent 09c2e6b commit 6fc4ff5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Source/PatchProgram.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ PatchProcessor* getInitialisingPatchProcessor(){
1515
}
1616

1717
void doSetPatchParameter(uint8_t id, int16_t value){
18-
ProgramVector vec = getProgramVector();
18+
ProgramVector* vec = getProgramVector();
1919
if(vec->checksum >= PROGRAM_VECTOR_CHECKSUM_V12 &&
2020
vec->setPatchParameter != NULL && vec->parameters[id] != value)
2121
vec->setPatchParameter(id, value);
2222
}
2323

2424
void doSetButton(uint8_t id, uint16_t value, uint16_t samples){
25-
ProgramVector vec = getProgramVector();
25+
ProgramVector* vec = getProgramVector();
2626
if(vec->checksum >= PROGRAM_VECTOR_CHECKSUM_V12 &&
2727
vec->setButton != NULL &&
2828
// if it is not a MIDI note, check that value has changed

0 commit comments

Comments
 (0)