Skip to content

Commit dbb1310

Browse files
committed
docs/develop/cmodules.rst: Add link to source code for user C example.
Signed-off-by: Damien George <damien@micropython.org>
1 parent 25c4563 commit dbb1310

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/develop/cmodules.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,9 @@ Basic example
6161

6262
This simple module named ``cexample`` provides a single function
6363
``cexample.add_ints(a, b)`` which adds the two integer args together and returns
64-
the result. It can be found in the MicroPython source tree and has
65-
a source file and a Makefile fragment with content as descibed above::
64+
the result. It can be found in the MicroPython source tree
65+
`in the examples directory <https://github.com/micropython/micropython/tree/master/examples/usercmodule/cexample>`_
66+
and has a source file and a Makefile fragment with content as descibed above::
6667

6768
micropython/
6869
└──examples/

0 commit comments

Comments
 (0)