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

Commit 1f505f34 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "legacy: Create conditional code validation logging"

parents 44f03749 8d09e779
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();