C:\Users\flo08\Documents\Arduino\esp32-avrc-a2dp-test\esp32-avrc-a2dp-test.ino: In function 'void setup()': esp32-avrc-a2dp-test:349: error: 'ret' was not declared in this scope ESP_LOGE(BT_AV_TAG, "%s initialize controller failed: %s\n", __func__, esp_err_to_name(ret)); ^ C:\Users\flo08\Documents\Arduino\hardware\espressif\esp32\cores\esp32/esp32-hal-log.h:105:72: note: in definition of macro 'log_e' #define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__) ^ C:\Users\flo08\Documents\Arduino\esp32-avrc-a2dp-test\esp32-avrc-a2dp-test.ino:349:9: note: in expansion of macro 'ESP_LOGE' ESP_LOGE(BT_AV_TAG, "%s initialize controller failed: %s\n", __func__, esp_err_to_name(ret)); ^ esp32-avrc-a2dp-test:354: error: 'ret' was not declared in this scope ESP_LOGE(BT_AV_TAG, "%s enable controller failed: %s\n", __func__, esp_err_to_name(ret)); ^ C:\Users\flo08\Documents\Arduino\hardware\espressif\esp32\cores\esp32/esp32-hal-log.h:105:72: note: in definition of macro 'log_e' #define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__) ^ C:\Users\flo08\Documents\Arduino\esp32-avrc-a2dp-test\esp32-avrc-a2dp-test.ino:354:9: note: in expansion of macro 'ESP_LOGE' ESP_LOGE(BT_AV_TAG, "%s enable controller failed: %s\n", __func__, esp_err_to_name(ret)); ^ esp32-avrc-a2dp-test:359: error: 'ret' was not declared in this scope ESP_LOGE(BT_AV_TAG, "%s initialize bluedroid failed: %s\n", __func__, esp_err_to_name(ret)); ^ C:\Users\flo08\Documents\Arduino\hardware\espressif\esp32\cores\esp32/esp32-hal-log.h:105:72: note: in definition of macro 'log_e' #define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__) ^ C:\Users\flo08\Documents\Arduino\esp32-avrc-a2dp-test\esp32-avrc-a2dp-test.ino:359:9: note: in expansion of macro 'ESP_LOGE' ESP_LOGE(BT_AV_TAG, "%s initialize bluedroid failed: %s\n", __func__, esp_err_to_name(ret)); ^ esp32-avrc-a2dp-test:364: error: 'ret' was not declared in this scope ESP_LOGE(BT_AV_TAG, "%s enable bluedroid failed: %s\n", __func__, esp_err_to_name(ret)); ^ C:\Users\flo08\Documents\Arduino\hardware\espressif\esp32\cores\esp32/esp32-hal-log.h:105:72: note: in definition of macro 'log_e' #define log_e(format, ...) log_printf(ARDUHAL_LOG_FORMAT(E, format), ##__VA_ARGS__) ^ C:\Users\flo08\Documents\Arduino\esp32-avrc-a2dp-test\esp32-avrc-a2dp-test.ino:364:9: note: in expansion of macro 'ESP_LOGE' ESP_LOGE(BT_AV_TAG, "%s enable bluedroid failed: %s\n", __func__, esp_err_to_name(ret)); ^ exit status 1 'ret' was not declared in this scope