fix: add ESP_ERR_NOT_ALLOWED error code to esp_err.h

This commit is contained in:
Li Shuai 2024-04-22 14:21:59 +08:00
parent 159e58dc27
commit 18a45fa98f
2 changed files with 4 additions and 0 deletions

View File

@ -34,6 +34,7 @@ typedef int esp_err_t;
#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_ALLOWED 0x10D /*!< Operation is not allowed */
#define ESP_ERR_ROC_IN_PROGRESS 0x10E /*!< ROC Operation is in progress */

View File

@ -131,6 +131,9 @@ static const esp_err_msg_t esp_err_msg_table[] = {
# ifdef ESP_ERR_NOT_FINISHED
ERR_TBL_IT(ESP_ERR_NOT_FINISHED), /* 268 0x10c There are items remained to retrieve */
# endif
# ifdef ESP_ERR_NOT_ALLOWED
ERR_TBL_IT(ESP_ERR_NOT_ALLOWED), /* 269 0x10d Operation is not allowed */
# endif
# ifdef ESP_ERR_ROC_IN_PROGRESS
ERR_TBL_IT(ESP_ERR_ROC_IN_PROGRESS), /* 270 0x10e ROC Operation is in progress */
# endif