Skip to content

Commit cf2acf3

Browse files
author
Amanda Butler
authored
Fix headings in platform.md
Update heading sizes for logical grouping and nestling.
1 parent 70bb851 commit cf2acf3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/reference/api/platform/platform.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Serial serial(USBTX, USBRX);
5555
5656
The Callback class manages C/C++ function pointers so you don't have to. If you are asking yourself why you should use the Callback class, you should read the [Importance of State](/docs/development/reference/platform.html#the-importance-of-state) section.
5757
58-
#### Why should you use Callbacks?
58+
##### Why should you use Callbacks?
5959
6060
Supporting all of the standard C++ function types is difficult for an API developer. An API developer must consider state, C++ Function objects, const correctness and volatile correctness.
6161
@@ -69,7 +69,7 @@ Another useful C++ feature is volatile-correctness. When volatile-correctness is
6969
7070
C++ provides the tools to delegate this complexity to a single class. This class is the Callback class. The Callback class should be familiar to users of the std::function class that C++11 introduced and is available for older versions of C++.
7171
72-
<h4 id="the-importance-of-state">The importance of state</h4>
72+
<h5 id="the-importance-of-state">The importance of state</h5>
7373
7474
Callbacks may have two important pieces of information, the code to execute and the state associated with the callback.
7575

0 commit comments

Comments
 (0)