Skip to content

Commit

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

rx_channel->filter_clock_resolution_hz = group->resolution_hz;
Expand Down

0 comments on commit b17ea78

Please sign in to comment.