Commit 35a66ba
committed
Refactor Type-C service to remove static_cell dependency and improve 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.1 parent 3fe9530 commit 35a66ba
File tree
24 files changed
+1153
-508
lines changed- embedded-service/src
- type_c
- examples
- rt685s-evk
- src/bin
- std
- src/bin/type_c
- type-c-service
- src
- service
- wrapper
24 files changed
+1153
-508
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | 81 | | |
0 commit comments