mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(docs): Minor update to esp_event.rst for improved user experience
This commit adds semicolons in c-code blocks in esp_event.rst for improved user experience when directly copying and pasting code. Closes https://github.com/espressif/esp-idf/issues/13156
This commit is contained in:
parent
10f14d5cca
commit
a2d40b688f
@ -91,13 +91,13 @@ Event base declaration:
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
ESP_EVENT_DECLARE_BASE(EVENT_BASE)
|
||||
ESP_EVENT_DECLARE_BASE(EVENT_BASE);
|
||||
|
||||
Event base definition:
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
ESP_EVENT_DEFINE_BASE(EVENT_BASE)
|
||||
ESP_EVENT_DEFINE_BASE(EVENT_BASE);
|
||||
|
||||
.. note::
|
||||
|
||||
|
@ -91,13 +91,13 @@
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
ESP_EVENT_DECLARE_BASE(EVENT_BASE)
|
||||
ESP_EVENT_DECLARE_BASE(EVENT_BASE);
|
||||
|
||||
定义事件根基:
|
||||
|
||||
.. code-block:: c
|
||||
|
||||
ESP_EVENT_DEFINE_BASE(EVENT_BASE)
|
||||
ESP_EVENT_DEFINE_BASE(EVENT_BASE);
|
||||
|
||||
.. note::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user