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
@@ -78,11 +78,9 @@ typedef enum {
BLE_ADDR_TYPE_RPA_RANDOM = 0x03,
} esp_ble_addr_type_t;
#define APP_ID_MIN 0x0000
#define APP_ID_MAX 0x7fff
#define ESP_APP_ID_MIN 0x0000
#define ESP_APP_ID_MAX 0x7fff
typedef void (* esp_profile_cb_t)(uint32_t event, void *param);
#define API_BLE_ISVALID_PARAM(x, min, max) (((x) >= (min) && (x) <= (max)) || ((x) == ESP_BLE_CONN_PARAM_UNDEF))
#endif ///__ESP_BT_DEFS_H__