diff --git a/build-scripts/SqueezeAmp-sdkconfig.defaults b/build-scripts/SqueezeAmp-sdkconfig.defaults index a43c90c7..3d2de8fd 100644 --- a/build-scripts/SqueezeAmp-sdkconfig.defaults +++ b/build-scripts/SqueezeAmp-sdkconfig.defaults @@ -182,8 +182,6 @@ CONFIG_BT_A2DP_ENABLE=y CONFIG_BT_SSP_ENABLED=y # CONFIG_BT_BLE_ENABLED is not set CONFIG_BT_STACK_NO_LOG=n -CONFIG_BT_BLE_ENABLED=n -CONFIG_BT_BLE_SMP_ENABLE=y CONFIG_BT_ACL_CONNECTIONS=4 CONFIG_BT_ALLOCATION_FROM_SPIRAM_FIRST=y CONFIG_BT_BLE_DYNAMIC_ENV_MEMORY=y diff --git a/components/squeezelite/stream.c b/components/squeezelite/stream.c index 34897d5f..6573e895 100644 --- a/components/squeezelite/stream.c +++ b/components/squeezelite/stream.c @@ -334,7 +334,7 @@ static void *stream_thread() { n = _recv(ssl, fd, streambuf->writep, space, 0); if (n == 0) { - LOG_INFO("end of stream"); + LOG_INFO("end of stream (%u bytes)", stream.bytes); _disconnect(DISCONNECT, DISCONNECT_OK); } if (n < 0 && _last_error() != ERROR_WOULDBLOCK) {