Skip to content

Commit 0ada106

Browse files
authored
[v0.2.0 Refactor] [Type-C] Remove static_cell dependency and improve context handling (#668)
- 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 e2a466f commit 0ada106

File tree

25 files changed

+1448
-871
lines changed

25 files changed

+1448
-871
lines changed

embedded-service/src/lib.rs

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

0 commit comments

Comments
 (0)