Skip to content

Commit 4931b78

Browse files
committed
Rename constructor argument wait_for_start
sourcebots/sbot#327
1 parent 4f618b6 commit 4931b78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/programming/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,10 @@ what it didn't do, and any errors it raised. The file is saved to log.txt in the
4747

4848
## Running Code before pressing the start button
4949

50-
If you want to do things before the start button press, such as setting up servos or motors, you can pass `wait_start` to the `Robot` constructor. You will then need to wait for the start button manually.
50+
If you want to do things before the start button press, such as setting up servos or motors, you can pass `wait_for_start` to the `Robot` constructor. You will then need to wait for the start button manually using `robot.wait_start()`.
5151

5252
```python
53-
robot = Robot(wait_start=False)
53+
robot = Robot(wait_for_start=False)
5454

5555
# Do your setup here
5656

0 commit comments

Comments
 (0)