mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
Merge branch 'bugfix/fix_bitscrambler_rx_mode_init_error_v5.5' into 'release/v5.5'
fix(bitscrambler): fix bitscrambler RX mode initialization error (v5.5) See merge request espressif/esp-idf!39155
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