remove unused variable
This commit is contained in:
parent
c83dc44f83
commit
132cdac6ad
@ -9,7 +9,6 @@ void DeviceButton::deviceRegister() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void DeviceButton::deviceLoop() {
|
void DeviceButton::deviceLoop() {
|
||||||
byte debounce = 0;
|
|
||||||
for (int i = 0; i < 3; i++) {
|
for (int i = 0; i < 3; i++) {
|
||||||
if (digitalRead(pin) == state) {
|
if (digitalRead(pin) == state) {
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user