summaryrefslogtreecommitdiffstatshomepage
path: root/docs/library/machine.rst
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2018-07-18 16:28:30 +1000
committerDamien George <damien.p.george@gmail.com>2018-07-18 16:28:30 +1000
commit3e0d587a496d41eca8911938781837d53d1fa17b (patch)
tree3df6fa919b1a2c409e67396ee59fee237e26847e /docs/library/machine.rst
parent163cc66a0b4b8f305d1f9e11625cee4b5d2f75e2 (diff)
downloadmicropython-3e0d587a496d41eca8911938781837d53d1fa17b.tar.gz
micropython-3e0d587a496d41eca8911938781837d53d1fa17b.zip
docs/library/machine: Remove conditional docs for rng function.
And instead list its availability explicitly.
Diffstat (limited to 'docs/library/machine.rst')
-rw-r--r--docs/library/machine.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/library/machine.rst b/docs/library/machine.rst
index c5ff87fa9f..e5f9b39063 100644
--- a/docs/library/machine.rst
+++ b/docs/library/machine.rst
@@ -83,12 +83,6 @@ Power related functions
Miscellaneous functions
-----------------------
-.. only:: port_wipy
-
- .. function:: rng()
-
- Return a 24-bit software generated random number.
-
.. function:: unique_id()
Returns a byte string with a unique identifier of a board/SoC. It will vary
@@ -112,6 +106,12 @@ Miscellaneous functions
above. The timeout is the same for both cases and given by *timeout_us* (which
is in microseconds).
+.. function:: rng()
+
+ Return a 24-bit software generated random number.
+
+ Availability: WiPy.
+
.. _machine_constants:
Constants