audio_client.cpp fix

This commit is contained in:
Mikkeli Matlock
2026-02-15 21:36:56 +09:00
parent dca989a01b
commit 7eb05ea983
3 changed files with 4 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ static void handle_binary_frame(const uint8_t *data, int len)
{
if (!s_playing) return;
uint8_t *chunk = heap_caps_malloc(len, MALLOC_CAP_SPIRAM);
uint8_t *chunk = (uint8_t *)heap_caps_malloc(len, MALLOC_CAP_SPIRAM);
if (!chunk) {
ESP_LOGW(TAG, "PSRAM alloc failed (%d bytes)", len);
return;