forked from espressif/esp-idf
fix: add ESP_ERR_NOT_ALLOWED error code to esp_err.h
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user