component/bt : fix compile error

This commit is contained in:
Tian Hao
2016-11-29 19:45:10 +08:00
parent 4c83238a85
commit 758a9e5f06
4 changed files with 5 additions and 10 deletions

View File

@@ -30,7 +30,8 @@ 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 < ESP_APP_ID_MIN || app_id > ESP_APP_ID_MAX) {
//if (app_id < ESP_APP_ID_MIN || app_id > ESP_APP_ID_MAX) {
if (app_id > ESP_APP_ID_MAX) {
return ESP_ERR_INVALID_ARG;
}