targets/host: Update to new pw_channel style
Must call `.channel()` to access the public channel API from a Channel
implementation.
Change-Id: I3a9f24fd6b6bb0f0d90386acdaa7de9424d7d4be
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/quickstart/bazel/+/248352
Lint: Lint 🤖 <android-build-ayeaye@system.gserviceaccount.com>
Reviewed-by: Taylor Cramer <cramertj@google.com>
Pigweed-Auto-Submit: Wyatt Hepler <hepler@google.com>
Presubmit-Verified: CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed-service-accounts.iam.gserviceaccount.com>
diff --git a/targets/host/system.cc b/targets/host/system.cc
index a1c5121..5e65156 100644
--- a/targets/host/system.cc
+++ b/targets/host/system.cc
@@ -93,7 +93,7 @@
pw::system::GetWriter(),
pw::thread::stl::Options());
- pw::SystemStart(*channel);
+ pw::SystemStart(channel->channel());
PW_UNREACHABLE;
}