From 7bf3105105021cffc7b8cc4e234ae4130e434ae9 Mon Sep 17 00:00:00 2001 From: Linda Date: Thu, 4 May 2023 18:22:48 +0800 Subject: [PATCH] docs: fix typo in components/esp_common/include/esp_err.h --- components/esp_common/include/esp_err.h | 2 +- components/esp_common/src/esp_err_to_name.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esp_common/include/esp_err.h b/components/esp_common/include/esp_err.h index 34e69d3c0d..f48737e95e 100644 --- a/components/esp_common/include/esp_err.h +++ b/components/esp_common/include/esp_err.h @@ -33,7 +33,7 @@ typedef int esp_err_t; #define ESP_ERR_INVALID_CRC 0x109 /*!< CRC or checksum was invalid */ #define ESP_ERR_INVALID_VERSION 0x10A /*!< Version was invalid */ #define ESP_ERR_INVALID_MAC 0x10B /*!< MAC address was invalid */ -#define ESP_ERR_NOT_FINISHED 0x10C /*!< There are items remained to retrieve */ +#define ESP_ERR_NOT_FINISHED 0x10C /*!< Operation has not fully completed */ #define ESP_ERR_WIFI_BASE 0x3000 /*!< Starting number of WiFi error codes */ diff --git a/components/esp_common/src/esp_err_to_name.c b/components/esp_common/src/esp_err_to_name.c index 01017e2c53..18f2f3d778 100644 --- a/components/esp_common/src/esp_err_to_name.c +++ b/components/esp_common/src/esp_err_to_name.c @@ -129,7 +129,7 @@ static const esp_err_msg_t esp_err_msg_table[] = { ERR_TBL_IT(ESP_ERR_INVALID_MAC), /* 267 0x10b MAC address was invalid */ # endif # ifdef ESP_ERR_NOT_FINISHED - ERR_TBL_IT(ESP_ERR_NOT_FINISHED), /* 268 0x10c There are items remained to retrieve */ + ERR_TBL_IT(ESP_ERR_NOT_FINISHED), /* 268 0x10c Operation has not fully completed */ # endif // components/nvs_flash/include/nvs.h # ifdef ESP_ERR_NVS_BASE