Skip to content

Commit c501306

Browse files
Fix functions in docs: RP2040 Helper Class (#793)
1 parent 8aad2ca commit c501306

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/rp2040.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ values returned may not meet the most stringent random tests. **If your
3333
application needs absolute bulletproof random numbers, consider using
3434
dedicated external hardware.**
3535

36-
void reboot()
37-
~~~~~~~~~~~~~
36+
void rp2040.reboot()
37+
~~~~~~~~~~~~~~~~~~~~
3838
Forces a hardware reboot of the Pico.
3939

4040
Memory Information
@@ -47,8 +47,8 @@ that because there is some overhead, and there may be heap fragmentation,
4747
this number is an *upper bound* and you generally will only be able to allocate
4848
less than this returned number.
4949

50-
int rp2040.getUsedHeap
51-
~~~~~~~~~~~~~~~~~~~~~~
50+
int rp2040.getUsedHeap()
51+
~~~~~~~~~~~~~~~~~~~~~~~~
5252
Returns the number of bytes allocated out of the heap.
5353

5454
int rp2040.getTotalHeap()

0 commit comments

Comments
 (0)