Correct variable assignment

This commit is contained in:
phl0 2016-11-09 09:32:30 +01:00
parent d7fe8f1d47
commit 90a10560d7
No known key found for this signature in database
GPG key ID: 48EA1E640798CA9A

View file

@ -128,8 +128,9 @@ void loop()
}
}
bool lockout = false;
#if defined(USE_LOCKOUT)
bool lockout = digitalRead(PIN_LOCKOUT) == HIGH;
lockout = digitalRead(PIN_LOCKOUT) == HIGH;
#endif
if (lockout != m_lockout) {
uint8_t data[4U];