mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
driver: minor code clean up to pass coverity scan test
This commit is contained in:
@@ -133,7 +133,6 @@ static esp_err_t rmt_rx_register_to_group(rmt_rx_channel_t *rx_channel, const rm
|
||||
if (channel_id < 0) {
|
||||
// didn't find a capable channel in the group, don't forget to release the group handle
|
||||
rmt_release_group_handle(group);
|
||||
group = NULL;
|
||||
} else {
|
||||
rx_channel->base.channel_id = channel_id;
|
||||
rx_channel->base.channel_mask = channel_mask;
|
||||
|
Reference in New Issue
Block a user