Skip to content

Commit 9bd5de1

Browse files
committed
add hook for bluetooth to Arduino INIT
1 parent 43cc3dc commit 9bd5de1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cores/esp32/esp32-hal-misc.c

+4
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,15 @@ void init() {}
109109
void initWiFi() __attribute__((weak));
110110
void initWiFi() {}
111111

112+
void initBT() __attribute__((weak));
113+
void initBT() {}
114+
112115
void initArduino(){
113116
nvs_flash_init();
114117
init();
115118
initVariant();
116119
initWiFi();
120+
initBT();
117121
}
118122

119123
//used by hal log

0 commit comments

Comments
 (0)