esp32: modify the code according to review comments

1. Adjust error code definition
2. Refractor the comments for esp_wifi_internal_tx
This commit is contained in:
Liu Zhi Fu
2016-11-08 19:19:28 +08:00
committed by Wu Jian Gang
parent cb5f7690a4
commit 8dee0a3f6d
4 changed files with 18 additions and 15 deletions

View File

@@ -33,6 +33,7 @@ typedef int32_t esp_err_t;
#define ESP_ERR_INVALID_STATE 0x103
#define ESP_ERR_INVALID_SIZE 0x104
#define ESP_ERR_NOT_FOUND 0x105
#define ESP_ERR_NOT_SUPPORTED 0x106
#define ESP_ERR_WIFI_BASE 0x3000 /*!< Starting number of WiFi error codes */