diff --git a/cores/esp32/esp32-hal-bt.c b/cores/esp32/esp32-hal-bt.c index badb510f..0455a171 100644 --- a/cores/esp32/esp32-hal-bt.c +++ b/cores/esp32/esp32-hal-bt.c @@ -11,10 +11,11 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -#if CONFIG_BT_ENABLED #include "esp32-hal-bt.h" +#if CONFIG_BT_ENABLED + #include "bt.h" #include "esp_bt_defs.h" #include "esp_bt_main.h"