diff options
Diffstat (limited to 'src/direct_bt/SMPHandler.cpp')
-rw-r--r-- | src/direct_bt/SMPHandler.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/direct_bt/SMPHandler.cpp b/src/direct_bt/SMPHandler.cpp index 50ba1a30..5919cd6e 100644 --- a/src/direct_bt/SMPHandler.cpp +++ b/src/direct_bt/SMPHandler.cpp @@ -67,11 +67,7 @@ SMPEnv::SMPEnv() noexcept { } -#if SMP_SUPPORTED_BY_OS - bool SMPHandler::IS_SUPPORTED_BY_OS = true; -#else - bool SMPHandler::IS_SUPPORTED_BY_OS = false; -#endif +bool SMPHandler::IS_SUPPORTED_BY_OS = SMP_SUPPORTED_BY_OS ? true : false; std::shared_ptr<BTDevice> SMPHandler::getDeviceChecked() const { std::shared_ptr<BTDevice> ref = wbr_device.lock(); |