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