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:
Sudeep Mohanty 2024-02-19 13:39:12 +01:00
parent 10f14d5cca
commit a2d40b688f
2 changed files with 4 additions and 4 deletions

View File

@ -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::

View File

@ -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::