From a2d40b688fe46886868c5d8cf2b46e6e8f2026f0 Mon Sep 17 00:00:00 2001 From: Sudeep Mohanty Date: Mon, 19 Feb 2024 13:39:12 +0100 Subject: [PATCH] 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 --- docs/en/api-reference/system/esp_event.rst | 4 ++-- docs/zh_CN/api-reference/system/esp_event.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/en/api-reference/system/esp_event.rst b/docs/en/api-reference/system/esp_event.rst index b6554742b8..8bf7dfb507 100644 --- a/docs/en/api-reference/system/esp_event.rst +++ b/docs/en/api-reference/system/esp_event.rst @@ -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:: diff --git a/docs/zh_CN/api-reference/system/esp_event.rst b/docs/zh_CN/api-reference/system/esp_event.rst index 3c436b01b4..a85950bc71 100644 --- a/docs/zh_CN/api-reference/system/esp_event.rst +++ b/docs/zh_CN/api-reference/system/esp_event.rst @@ -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::