Fixed syntax error in voltage adjustment function
Addresses broken code in https://github.com/pyr0ball/pyr0piezo/issues/1
This commit is contained in:
parent
a2000783fe
commit
d053b051f4
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ void adjustVoltage() {
|
|||
if (ADJ_STATE < 0) {
|
||||
ERR_STATE = 1;
|
||||
}
|
||||
if (ADJ_STATE = 0) {
|
||||
if (ADJ_STATE == 0) {
|
||||
pinMode(VADJ_R3, INPUT);
|
||||
pinMode(VADJ_R2, INPUT);
|
||||
pinMode(VADJ_R1, INPUT);
|
||||
|
|
|
|||
Loading…
Reference in a new issue