Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 888bc358 authored by Mike J. Chen's avatar Mike J. Chen Committed by Android (Google) Code Review
Browse files

Merge "Set some SMP and GATT to FALSE if BLE is FALSE" into klp-modular-dev

parents 6917a86c 77b29253
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -264,7 +264,15 @@
#endif

#ifndef BTA_GATT_INCLUDED
#if BLE_INCLUDED == TRUE
#define BTA_GATT_INCLUDED TRUE
#else
#define BTA_GATT_INCLUDED FALSE
#endif
#endif

#if BTA_GATT_INCLUDED == TRUE && BLE_INCLUDED == FALSE
#error "can't have GATT without BLE"
#endif

#ifndef BTA_DISABLE_DELAY
@@ -1465,7 +1473,15 @@ and USER_HW_DISABLE_API macros */
**
******************************************************************************/
#ifndef SMP_INCLUDED
#if BLE_INCLUDED == TRUE
#define SMP_INCLUDED         TRUE
#else
#define SMP_INCLUDED         FALSE
#endif
#endif

#if SMP_INCLUDED == TRUE && BLE_INCLUDED == FALSE
#error "can't have SMP without BLE"
#endif

#ifndef SMP_DEBUG