Skip to content

Commit

Permalink
Fixed syntax error in voltage adjustment function
Browse files Browse the repository at this point in the history
Addresses broken code in #1
  • Loading branch information
pyr0ball committed Jan 9, 2019
1 parent a200078 commit d053b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ATmega48_Piezo_Sensor/ATmega48_Piezo_Sensor.ino
Expand Up @@ -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);
Expand Down

0 comments on commit d053b05

Please sign in to comment.