Skip to content

Commit 28e8a06

Browse files
author
Amanda Butler
authored
Update platform.md
Fix broken link.
1 parent 85a370d commit 28e8a06

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
@@ -36,7 +36,7 @@ Serial serial(USBTX, USBRX);
3636
}
3737
```
3838
39-
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 <a href="/docs/v5.6/reference/platform-overview.html#the-importance-of-state" target="_blank">Importance of State</a> section.
39+
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 <a href="/docs/v5.6/reference/platform.html#the-importance-of-state" target="_blank">Importance of State</a> section.
4040
4141
#### Why should you use Callbacks?
4242
@@ -207,7 +207,7 @@ public:
207207
}
208208
```
209209

210-
#### The importance of state
210+
<h4 id="the-importance-of-state">The importance of state</h4>
211211

212212
A callback is a user provided function that a user may pass to an API. The callback allows the API to execute the user’s code in its own context. You can find more information on how to use callbacks in the <a href="/docs/v5.6/reference/callback.html" target="_blank">technical callback documentation</a>.
213213

0 commit comments

Comments
 (0)