diff --git a/usermods/Animated_Staircase/Animated_Staircase.h b/usermods/Animated_Staircase/Animated_Staircase.h index a5dd6945fb..1134389135 100644 --- a/usermods/Animated_Staircase/Animated_Staircase.h +++ b/usermods/Animated_Staircase/Animated_Staircase.h @@ -71,7 +71,7 @@ class Animated_Staircase : public Usermod { // last sensor state, or trigger a sensor // through the API bool topSensorRead = false; - bool = false; + bool topSensorWrite = false; bool bottomSensorRead = false; bool bottomSensorWrite = false; bool topSensorState = false;