component/bt : cleanup a macro

This commit is contained in:
Tian Hao
2016-11-29 14:38:58 +08:00
parent f6de7ea764
commit 06e2a1d4e1
5 changed files with 13 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ esp_err_t esp_ble_gatts_app_register(uint16_t app_id)
btc_msg_t msg;
btc_ble_gatts_args_t arg;
if (app_id < APP_ID_MIN || app_id > APP_ID_MAX) {
if (app_id < ESP_APP_ID_MIN || app_id > ESP_APP_ID_MAX) {
return ESP_ERR_INVALID_ARG;
}