Add guards to not compile BT code if not enabled

This commit is contained in:
me-no-dev
2017-09-21 19:08:18 +08:00
parent 4092fc409e
commit c66a020e80
4 changed files with 13 additions and 1 deletions

View File

@ -15,6 +15,7 @@
#ifndef _SIMPLE_BLE_H_
#define _SIMPLE_BLE_H_
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BLUEDROID_ENABLED)
#include <cstdint>
#include <cstdio>
@ -58,3 +59,5 @@ class SimpleBLE {
};
#endif
#endif