From 4b5de6a30ffdd31a54cfd44e9a52bb82ef3ac557 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?xgroleau=F0=9F=90=A2?= Date: Wed, 26 Jun 2024 09:32:32 -0400 Subject: [PATCH 1/2] bluetooth_service: added missing lock.h --- components/bluetooth_service/a2dp_stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bluetooth_service/a2dp_stream.c b/components/bluetooth_service/a2dp_stream.c index ae6481f74..a8baa989b 100644 --- a/components/bluetooth_service/a2dp_stream.c +++ b/components/bluetooth_service/a2dp_stream.c @@ -24,6 +24,7 @@ #include #include +#include #include #include "nvs.h" #include "nvs_flash.h" From e0f65b6c5524f800164e04095c3d6159d9a47c04 Mon Sep 17 00:00:00 2001 From: Daniel Mangum Date: Sun, 23 Jun 2024 11:50:26 -0400 Subject: [PATCH 2/2] examples: Fixes a misspelling of "length" in the google-tts example logs. Signed-off-by: Daniel Mangum --- .../cloud_services/google_translate_device/main/google_tts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cloud_services/google_translate_device/main/google_tts.c b/examples/cloud_services/google_translate_device/main/google_tts.c index a0b121003..1cb4b79c6 100644 --- a/examples/cloud_services/google_translate_device/main/google_tts.c +++ b/examples/cloud_services/google_translate_device/main/google_tts.c @@ -80,7 +80,7 @@ static esp_err_t _http_stream_reader_event_handle(http_stream_event_msg_t *msg) if (msg->event_id == HTTP_STREAM_PRE_REQUEST) { // Post text data - ESP_LOGI(TAG, "[ + ] HTTP client HTTP_STREAM_PRE_REQUEST, lenght=%d", msg->buffer_len); + ESP_LOGI(TAG, "[ + ] HTTP client HTTP_STREAM_PRE_REQUEST, length=%d", msg->buffer_len); tts->tts_total_read = 0; tts->is_begin = true; int payload_len = snprintf(tts->buffer, tts->buffer_size, GOOGLE_TTS_TEMPLATE, tts->sample_rate, tts->lang_code, tts->text); @@ -92,7 +92,7 @@ static esp_err_t _http_stream_reader_event_handle(http_stream_event_msg_t *msg) } if (msg->event_id == HTTP_STREAM_ON_RESPONSE) { - ESP_LOGD(TAG, "[ + ] HTTP client HTTP_STREAM_ON_RESPONSE, lenght=%d", msg->buffer_len); + ESP_LOGD(TAG, "[ + ] HTTP client HTTP_STREAM_ON_RESPONSE, length=%d", msg->buffer_len); /* Read first chunk */ int process_data_len = 0; char *data_ptr = tts->buffer;