STATIC mp_obj_t network_bluetooth_test(mp_obj_t self_in) { NETWORK_BLUETOOTH_DEBUG_PRINTF("Entering network_bluetooth_test\n"); { // make_new code esp_bt_controller_init(); #if 0 esp_err_t ret = esp_bt_controller_enable(ESP_BT_MODE_BTDM); switch(ret) { case ESP_OK: NETWORK_...
@@ -184,7 +184,7 @@ typedef void (* esp_bt_hci_tl_callback_t) (void *arg, uint8_t status); } #else #define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0}; _Static_assert(0, "please enable bluetooth in menuconfig to use bt.h"); #define BT_CONTROLLER_INIT_CONFIG_DEFAULT() {0};...