You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/reference/api/platform/platform.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ Serial serial(USBTX, USBRX);
36
36
}
37
37
```
38
38
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.
40
40
41
41
#### Why should you use Callbacks?
42
42
@@ -207,7 +207,7 @@ public:
207
207
}
208
208
```
209
209
210
-
#### The importance of state
210
+
<h4id="the-importance-of-state">The importance of state</h4>
211
211
212
212
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 <ahref="/docs/v5.6/reference/callback.html"target="_blank">technical callback documentation</a>.
0 commit comments