Skip to content

Conversation

@tullom
Copy link
Contributor

@tullom tullom commented Jan 7, 2026

  • Removed static_cell dependency from Cargo.lock and Cargo.toml in examples and type-c-service.
  • Updated Type-C service methods to accept a reference to intrusive_list::IntrusiveList for better context management.
  • Modified various service methods to pass the controllers list where necessary, ensuring proper context usage.
  • Commented out unused code related to power policy channels and service initialization.
  • Adjusted the task closure to work with the updated service structure.
  • Enhanced error handling and logging throughout the service methods.

@tullom tullom self-assigned this Jan 7, 2026
@tullom tullom added the type-c Related to the type-c service or drivers. label Jan 7, 2026
@tullom tullom moved this to In progress in Embedded Controller Jan 7, 2026
@tullom tullom force-pushed the type-c/remove-global-statics branch 3 times, most recently from 35a66ba to ffb0e7e Compare January 7, 2026 23:25
…context handling

- Removed `static_cell` dependency from Cargo.lock and Cargo.toml in examples and type-c-service.
- Updated Type-C service methods to accept a reference to `intrusive_list::IntrusiveList` for better context management.
- Modified various service methods to pass the controllers list where necessary, ensuring proper context usage.
- Commented out unused code related to power policy channels and service initialization.
- Adjusted the task closure to work with the updated service structure.
- Enhanced error handling and logging throughout the service methods.
- Initializing the service will now register all PD controllers before
  running the type-c task

WIP
@tullom tullom force-pushed the type-c/remove-global-statics branch from 8c975f6 to 16aadd1 Compare January 10, 2026 00:17
@tullom tullom marked this pull request as ready for review January 10, 2026 00:27
@tullom tullom requested review from a team as code owners January 10, 2026 00:27
@tullom tullom moved this from In progress to In review in Embedded Controller Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-c Related to the type-c service or drivers.

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

1 participant