1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-04 18:03:20 +03:00

Fix semantic typo in generic-examples.rst (#9107)

exists -> exits
This commit is contained in:
Clemens Kirchgatterer 2024-03-19 16:01:59 +01:00 committed by GitHub
parent dc9abed8b9
commit 2bb1b5a4d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ Alternatively, it can be declared as ``static`` in both function and global scop
.. code:: cpp
disconnectedEventHandler = nullptr;
Take note that lifetime of the callback handler is up to the app. e.g. if ``onStationModeDisconnected`` is declared in the function scope, it would be discarded immediately after the function exists.
Take note that lifetime of the callback handler is up to the app. e.g. if ``onStationModeDisconnected`` is declared in the function scope, it would be discarded immediately after the function exits.
The Code
~~~~~~~~