Skip to content

Commit 1272d1c

Browse files
authored
fix(matter): fix var name - spelling
1 parent 99aec0a commit 1272d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Matter/examples/MatterWaterLeakDetector/MatterWaterLeakDetector.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ void loop() {
134134
}
135135

136136
uint32_t time_diff = millis() - button_time_stamp;
137-
if (button_state && time_diff > debouceTime && digitalRead(buttonPin) == HIGH) {
137+
if (button_state && time_diff > debounceTime && digitalRead(buttonPin) == HIGH) {
138138
button_state = false; // released
139139
// button is released - toggle Leak State (Not Detected/Detected)
140140
WaterLeakDetector.setLeak(!WaterLeakDetector.getLeak()); // same as WaterLeakDetector = !WaterLeakDetector;

0 commit comments

Comments
 (0)