Fixed syntax error in Error State function
This commit is contained in:
parent
d053b051f4
commit
5d840f2e7a
1 changed files with 2 additions and 2 deletions
|
|
@ -141,11 +141,11 @@ void adjustVoltage() {
|
|||
}
|
||||
|
||||
void checkError () {
|
||||
if (ERR_STATE = 1) {
|
||||
if (ERR_STATE == 1) {
|
||||
digitalWrite(ERR_LED, BlinkState);
|
||||
BlinkState = !BlinkState;
|
||||
}
|
||||
if (ERR_STATE = 0) {
|
||||
if (ERR_STATE == 0) {
|
||||
BlinkState = LOW;
|
||||
digitalWrite(ERR_LED, BlinkState);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue