File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -85,13 +85,6 @@ Miscellaneous functions
8585
8686.. only :: port_wipy
8787
88- .. function :: main(filename)
89-
90- Set the filename of the main script to run after boot.py is finished. If
91- this function is not called then the default file main.py will be executed.
92-
93- It only makes sense to call this function from within boot.py.
94-
9588 .. function :: rng()
9689
9790 Return a 24-bit software generated random number.
Original file line number Diff line number Diff line change @@ -296,3 +296,13 @@ Example::
296296 ...
297297 hash.update('12345') # last chunk may be of any length
298298 hash.digest()
299+
300+ Unrelated function in machine module
301+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302+
303+ .. function :: main(filename)
304+
305+ Set the filename of the main script to run after boot.py is finished. If
306+ this function is not called then the default file main.py will be executed.
307+
308+ It only makes sense to call this function from within boot.py.
You can’t perform that action at this time.
0 commit comments