Skip to content

Commit

Permalink
Update rmt_tx.c
Browse files Browse the repository at this point in the history
  • Loading branch information
qqqlab authored Dec 22, 2024
1 parent b5ac4fb commit d6ffd2e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/esp_driver_rmt/src/rmt_tx.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ esp_err_t rmt_new_tx_channel(const rmt_tx_channel_config_t *config, rmt_channel_
tx_channel->base.resolution_hz = group->resolution_hz / real_div;
if (tx_channel->base.resolution_hz != config->resolution_hz) {
ESP_LOGW(TAG, "channel resolution loss, real=%"PRIu32, tx_channel->base.resolution_hz);
config->resolution_hz = tx_channel->base.resolution_hz;
}

rmt_ll_tx_set_mem_blocks(hal->regs, channel_id, tx_channel->base.mem_block_num);
Expand Down

0 comments on commit d6ffd2e

Please sign in to comment.