system/bt
Revision | 607e3b79f1731de0d08a2c03d38ae17874bc282d (tree) |
---|---|
Zeit | 2013-08-16 11:30:48 |
Autor | Matthew Xie <mattx@goog...> |
Commiter | Matthew Xie |
Place handling of BTA_DM_DISC_BLE_RES_EVT in BLE feature ifdef
Without this fix, bluetooth fail to compile for non-BLE platform
Change-Id: Ida10c54ab841e0a2bcaeb389a9813dd846db8200
@@ -1144,6 +1144,7 @@ static void btif_dm_search_services_evt(UINT16 event, char *p_param) | ||
1144 | 1144 | /* fixme */ |
1145 | 1145 | break; |
1146 | 1146 | |
1147 | +#if (defined(BLE_INCLUDED) && (BLE_INCLUDED == TRUE)) | |
1147 | 1148 | case BTA_DM_DISC_BLE_RES_EVT: |
1148 | 1149 | BTIF_TRACE_DEBUG2("%s:, services 0x%x)", __FUNCTION__, |
1149 | 1150 | p_data->disc_ble_res.service.uu.uuid16); |
@@ -1182,6 +1183,7 @@ static void btif_dm_search_services_evt(UINT16 event, char *p_param) | ||
1182 | 1183 | |
1183 | 1184 | } |
1184 | 1185 | break; |
1186 | +#endif /* BLE_INCLUDED */ | |
1185 | 1187 | |
1186 | 1188 | default: |
1187 | 1189 | { |