Init variables to avoid (incorrect) compiler warnings
This commit is contained in:
parent
3ae4147d7e
commit
c6ad2b6c53
1 changed files with 2 additions and 2 deletions
|
@ -821,8 +821,8 @@ void pitch_bend() {
|
||||||
int vibMax;
|
int vibMax;
|
||||||
int calculatedPBdepth;
|
int calculatedPBdepth;
|
||||||
byte pbTouched = 0;
|
byte pbTouched = 0;
|
||||||
int vibRead;
|
int vibRead = 0;
|
||||||
int vibReadBite;
|
int vibReadBite = 0;
|
||||||
pbUp = touchRead(pbUpPin); // SENSOR PIN 23 - PCB PIN "Pu"
|
pbUp = touchRead(pbUpPin); // SENSOR PIN 23 - PCB PIN "Pu"
|
||||||
pbDn = touchRead(pbDnPin); // SENSOR PIN 22 - PCB PIN "Pd"
|
pbDn = touchRead(pbDnPin); // SENSOR PIN 22 - PCB PIN "Pd"
|
||||||
halfPitchBendKey = (pinkySetting == PBD) && (touchRead(halfPitchBendKeyPin) > touch_Thr); // SENSOR PIN 1 - PCB PIN "S1" - hold for 1/2 pitchbend value
|
halfPitchBendKey = (pinkySetting == PBD) && (touchRead(halfPitchBendKeyPin) > touch_Thr); // SENSOR PIN 1 - PCB PIN "S1" - hold for 1/2 pitchbend value
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue