• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revision607e3b79f1731de0d08a2c03d38ae17874bc282d (tree)
Zeit2013-08-16 11:30:48
AutorMatthew Xie <mattx@goog...>
CommiterMatthew Xie

Log Message

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

Ändern Zusammenfassung

Diff

--- a/btif/src/btif_dm.c
+++ b/btif/src/btif_dm.c
@@ -1144,6 +1144,7 @@ static void btif_dm_search_services_evt(UINT16 event, char *p_param)
11441144 /* fixme */
11451145 break;
11461146
1147+#if (defined(BLE_INCLUDED) && (BLE_INCLUDED == TRUE))
11471148 case BTA_DM_DISC_BLE_RES_EVT:
11481149 BTIF_TRACE_DEBUG2("%s:, services 0x%x)", __FUNCTION__,
11491150 p_data->disc_ble_res.service.uu.uuid16);
@@ -1182,6 +1183,7 @@ static void btif_dm_search_services_evt(UINT16 event, char *p_param)
11821183
11831184 }
11841185 break;
1186+#endif /* BLE_INCLUDED */
11851187
11861188 default:
11871189 {