Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ports/raspberrypi/audio_dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,9 +248,9 @@ audio_dma_result audio_dma_setup_playback(

if (!single_buffer) {
#ifdef PICO_RP2350
dma->buffer[1] = (uint8_t *)port_realloc(dma->buffer[0], max_buffer_length, true);
dma->buffer[1] = (uint8_t *)port_realloc(dma->buffer[1], max_buffer_length, true);
#else
dma->buffer[1] = (uint8_t *)m_realloc(dma->buffer[0],
dma->buffer[1] = (uint8_t *)m_realloc(dma->buffer[1],
#if MICROPY_MALLOC_USES_ALLOCATED_SIZE
dma->buffer_length[1], // Old size
#endif
Expand Down
Loading