Merge branch 'bugfix/gdma_log_nano_v5.0' into 'release/v5.0'

gdma: fixed crash from logging when using newlib nano (v5.0)

See merge request espressif/esp-idf!23586
This commit is contained in:
Marius Vikhammer 2023-05-11 10:38:05 +08:00
commit 7d24b991f8

View File

@ -396,7 +396,7 @@ esp_err_t gdma_set_transfer_ability(gdma_channel_handle_t dma_chan, const gdma_t
dma_chan->sram_alignment = sram_alignment;
dma_chan->psram_alignment = psram_alignment;
ESP_LOGD(TAG, "%s channel (%d,%d), (%zu:%zu) bytes aligned, burst %s", dma_chan->direction == GDMA_CHANNEL_DIRECTION_TX ? "tx" : "rx",
ESP_LOGD(TAG, "%s channel (%d,%d), (%u:%u) bytes aligned, burst %s", dma_chan->direction == GDMA_CHANNEL_DIRECTION_TX ? "tx" : "rx",
group->group_id, pair->pair_id, sram_alignment, psram_alignment, en_burst ? "enabled" : "disabled");
err:
return ret;