Skip to content

Commit 35a66ba

Browse files
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

24 files changed

+1153
-508
lines changed

embedded-service/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,4 @@ pub async fn init() {
7878
cfu::init();
7979
keyboard::init();
8080
power::policy::init();
81-
type_c::controller::init();
8281
}

0 commit comments

Comments
 (0)