Skip to content

Commit

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

See merge request espressif/esp-idf!23587
  • Loading branch information
ESP-Marius committed Jun 8, 2023
2 parents d638b7c + e0e9138 commit 92549f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/driver/gdma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 92549f5

Please sign in to comment.