summaryrefslogtreecommitdiffstatshomepage
path: root/docs/pyboard/tutorial/timer.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pyboard/tutorial/timer.rst')
-rw-r--r--docs/pyboard/tutorial/timer.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/pyboard/tutorial/timer.rst b/docs/pyboard/tutorial/timer.rst
index aedaaa13c5..1cca18d837 100644
--- a/docs/pyboard/tutorial/timer.rst
+++ b/docs/pyboard/tutorial/timer.rst
@@ -50,8 +50,8 @@ Timer callbacks
---------------
The next thing we can do is register a callback function for the timer to
-execute when it triggers (see the [switch tutorial](tut-switch) for an
-introduction to callback functions)::
+execute when it triggers (see the :ref:`switch tutorial <pyboard_tutorial_switch>`
+for an introduction to callback functions)::
>>> tim.callback(lambda t:pyb.LED(1).toggle())