From 9bd5de11a7d19960a85d015e60778276cd557ed7 Mon Sep 17 00:00:00 2001 From: me-no-dev Date: Tue, 14 Feb 2017 04:12:11 +0200 Subject: [PATCH] add hook for bluetooth to Arduino INIT --- cores/esp32/esp32-hal-misc.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cores/esp32/esp32-hal-misc.c b/cores/esp32/esp32-hal-misc.c index 133583d9..1b68d3ce 100644 --- a/cores/esp32/esp32-hal-misc.c +++ b/cores/esp32/esp32-hal-misc.c @@ -109,11 +109,15 @@ void init() {} void initWiFi() __attribute__((weak)); void initWiFi() {} +void initBT() __attribute__((weak)); +void initBT() {} + void initArduino(){ nvs_flash_init(); init(); initVariant(); initWiFi(); + initBT(); } //used by hal log