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

Commit 057bcf0a authored by Mike J. Chen's avatar Mike J. Chen Committed by Android Git Automerger
Browse files

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

* commit '888bc358':
  Set some SMP and GATT to FALSE if BLE is FALSE
parents b332e626 888bc358
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