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

Commit 8d09e779 authored by Chris Manton's avatar Chris Manton
Browse files

legacy: Create conditional code validation logging

Bug: 197323562
Test: gd/cert/run
Tag: #refactor

Change-Id: I7cb9f615179ad06c58b15a34cda4712de30d8275
parent f073d57f
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -74,6 +74,18 @@
#include "internal_include/stack_config.h"
#include "main/shim/controller.h"

// Validate or respond to various conditional compilation flags

#if BLE_PRIVACY_SPT != TRUE
// Once BLE_PRIVACY_SPT is no longer exposed via bt_target.h
// this check and error statement may be removed.
#warning \
    "#define BLE_PRIVACY_SPT FALSE preprocessor compilation flag is unsupported"
#warning \
    "  To disable LE privacy for a device use: #define BLE_LOCAL_PRIVACY_ENABLED FALSE"
#error "*** Conditional Compilation Directive error"
#endif

void main_thread_shut_down();
void main_thread_start_up();
void BTA_dm_on_hw_on();