mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-20 22:45:44 +08:00
Correct variable assignment
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user