forked from espressif/esp-idf
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:
@@ -91,13 +91,13 @@ Event base declaration:
|
|||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
ESP_EVENT_DECLARE_BASE(EVENT_BASE)
|
ESP_EVENT_DECLARE_BASE(EVENT_BASE);
|
||||||
|
|
||||||
Event base definition:
|
Event base definition:
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
ESP_EVENT_DEFINE_BASE(EVENT_BASE)
|
ESP_EVENT_DEFINE_BASE(EVENT_BASE);
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
@@ -91,13 +91,13 @@
|
|||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
ESP_EVENT_DECLARE_BASE(EVENT_BASE)
|
ESP_EVENT_DECLARE_BASE(EVENT_BASE);
|
||||||
|
|
||||||
定义事件根基:
|
定义事件根基:
|
||||||
|
|
||||||
.. code-block:: c
|
.. code-block:: c
|
||||||
|
|
||||||
ESP_EVENT_DEFINE_BASE(EVENT_BASE)
|
ESP_EVENT_DEFINE_BASE(EVENT_BASE);
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user