Skip to content

Commit

Permalink
Merge branch 'bugfix/gdma_log_nano_v5.1' into 'release/v5.1'
Browse files Browse the repository at this point in the history
gdma: fixed crash from logging when using newlib nano (v5.1)

See merge request espressif/esp-idf!23585
  • Loading branch information
ESP-Marius committed May 8, 2023
2 parents 94d6614 + 46f104b commit d4a3427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/esp_hw_support/dma/gdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,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;
Expand Down

0 comments on commit d4a3427

Please sign in to comment.