From 19482f862ec1b77cf8eba3fc3aad1f44748cddd0 Mon Sep 17 00:00:00 2001 From: cooperised Date: Fri, 11 Mar 2022 02:00:26 +0000 Subject: [PATCH] Fix typos in code snippets for stepper component (#1938) Fix the code snippets that demonstrate stepper.set_acceleration and stepper.set_deceleration, which both erroneously used the key "speed" instead of the correct "acceleration" and "deceleration". --- components/stepper/index.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/stepper/index.rst b/components/stepper/index.rst index d31208c17..7c97a3b9e 100644 --- a/components/stepper/index.rst +++ b/components/stepper/index.rst @@ -240,7 +240,7 @@ This :ref:`Action ` allows you to set the acceleration of a stepp on_...: - stepper.set_acceleration: id: my_stepper - speed: 250 steps/s^2 + acceleration: 250 steps/s^2 Configuration variables: @@ -260,7 +260,7 @@ This :ref:`Action ` allows you to set the deceleration of a stepp on_...: - stepper.set_deceleration: id: my_stepper - speed: 250 steps/s^2 + deceleration: 250 steps/s^2 Configuration variables: