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

Commit ee9dc99d authored by Dorin Drimus's avatar Dorin Drimus
Browse files

Fix build breakage

Remove #warning compilation messages for no longer used flags.

Bug: 230576679
Test: builds adt3/yukawa and runs presubmit.
Change-Id: I85610dc0464bc1b1d9b84529611e385a36720276
parent f6fec469
Loading
Loading
Loading
Loading
+0 −21
Original line number Diff line number Diff line
@@ -76,27 +76,6 @@

// Validate or respond to various conditional compilation flags

#ifdef BLE_PRIVACY_SPT
// When BLE_PRIVACY_SPT is not used anymore this check and error statement may be removed.
#warning \
    "#define BLE_PRIVACY_SPT FALSE preprocessor compilation flag is no longer used"
#warning \
    "  To disable LE privacy for a device \
set 'bluetooth.core.gap.le.privacy.enabled' sysprop to false"
#if BLE_PRIVACY_SPT == FALSE
#error "*** Conditional Compilation Directive error"
#endif
#endif

#ifdef BLE_LOCAL_PRIVACY_ENABLED
// When BLE_PRIVACY_SPT is not used anymore this warning statement may be removed.
#warning \
    "#define BLE_LOCAL_PRIVACY_ENABLED FALSE preprocessor compilation flag is no longer used"
#warning \
    "  To disable LE privacy for a device \
set 'bluetooth.core.gap.le.privacy.enabled sysprop' to false"
#endif

#if SDP_RAW_DATA_INCLUDED != TRUE
// Once SDP_RAW_DATA_INCLUDED is no longer exposed via bt_target.h
// this check and error statement may be removed.