Refactor(usb_host): Rename auto suspend timer public API#333
Merged
peter-marcisovsky merged 1 commit intomasterfrom Nov 25, 2025
Merged
Conversation
793e666 to
e11eed5
Compare
e11eed5 to
3670dbd
Compare
tore-espressif
approved these changes
Nov 25, 2025
roma-jam
reviewed
Nov 25, 2025
roma-jam
approved these changes
Nov 25, 2025
6 tasks
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Renaming
usb_host_lib_set_auto_pmtousb_host_lib_set_auto_suspend.Also renaming it's related enums and typedefs, to align with the new name.
No functional change, just renaming.
Suspend timer type enum
Renamed from:
to
Suspend timer public API functions
Renamed from
to
Related
Checklist
Before submitting a Pull Request, please ensure the following:
Note
Renames
usb_host_lib_set_auto_pmand related PM types/constants tousb_host_lib_set_auto_suspendwith new auto-suspend enum names, and updates core implementation and tests accordingly.usb_host_lib_set_auto_pm(...)→usb_host_lib_set_auto_suspend(...).usb_host_lib_pm_twithusb_host_lib_auto_suspend_tmr_t.USB_HOST_LIB_PM_SUSPEND_ONE_SHOT/PERIODICwithUSB_HOST_LIB_AUTO_SUSPEND_ONE_SHOT/PERIODIC.auto_pm_timer→auto_suspend_timer,reset_pm_timer/stop_pm_timer→reset_auto_suspend_timer/stop_auto_suspend_timer,auto_pm_timer_cb→auto_suspend_timer_cb.Written by Cursor Bugbot for commit 3670dbd. This will update automatically on new commits. Configure here.