Skip to content

Commit

Permalink
pau: fix logic error in extra link retention
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrysalisChenJ authored and esp-lis committed Jun 13, 2023
1 parent ccd4ff2 commit ec51060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/hal/esp32c6/pau_hal.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ void pau_hal_start_regdma_extra_link(pau_hal_context_t *hal, bool backup_or_rest
* provide backup and restore services for BLE, IEEE802.15.4 and possibly
* other modules */
pau_ll_select_regdma_entry_link(hal->dev, 3);
pau_ll_set_regdma_entry_link_backup_direction(hal->dev, true);
pau_ll_set_regdma_entry_link_backup_direction(hal->dev, backup_or_restore);
pau_ll_set_regdma_entry_link_backup_start_enable(hal->dev);

while (!(pau_ll_get_regdma_intr_raw_signal(hal->dev) & PAU_DONE_INT_RAW));
Expand Down

0 comments on commit ec51060

Please sign in to comment.