mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 10:47:19 +02:00
Merge branch 'bugfix/fix_bitscrambler_rx_mode_init_error' into 'master'
fix(bitscrambler): fix bitscrambler RX mode initialization error Closes IDF-13082 See merge request espressif/esp-idf!39154
This commit is contained in:
@ -165,7 +165,6 @@ esp_err_t bitscrambler_new(const bitscrambler_config_t *config, bitscrambler_han
|
|||||||
return ESP_ERR_NOT_FOUND;
|
return ESP_ERR_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
enable_clocks(bs);
|
|
||||||
// Do initialization of BS object.
|
// Do initialization of BS object.
|
||||||
esp_err_t r = init_from_config(bs, config);
|
esp_err_t r = init_from_config(bs, config);
|
||||||
if (r != ESP_OK) {
|
if (r != ESP_OK) {
|
||||||
@ -173,6 +172,8 @@ esp_err_t bitscrambler_new(const bitscrambler_config_t *config, bitscrambler_han
|
|||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
enable_clocks(bs);
|
||||||
|
|
||||||
// Return the handle
|
// Return the handle
|
||||||
*handle = bs;
|
*handle = bs;
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
|
Reference in New Issue
Block a user