From c9e67cdf33c92d0c88ebd22692f8f3d4f235826c Mon Sep 17 00:00:00 2001 From: Andrea Ciliberti Date: Wed, 23 Feb 2022 14:05:04 +0100 Subject: [PATCH] Removed Ps struct references in examples --- ctru-rs/examples/futures-tokio.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/ctru-rs/examples/futures-tokio.rs b/ctru-rs/examples/futures-tokio.rs index 60753a2..7eb3d03 100644 --- a/ctru-rs/examples/futures-tokio.rs +++ b/ctru-rs/examples/futures-tokio.rs @@ -1,6 +1,5 @@ use ctru::console::Console; use ctru::services::hid::KeyPad; -use ctru::services::ps::Ps; use ctru::services::{Apt, Hid}; use ctru::Gfx; use std::time::Duration; @@ -10,7 +9,6 @@ fn main() { let gfx = Gfx::default(); let hid = Hid::init().expect("Couldn't obtain HID controller"); let apt = Apt::init().expect("Couldn't obtain APT controller"); - let _ps = Ps::init().expect("Couldn't initialize PS service"); let _console = Console::init(gfx.top_screen.borrow_mut()); // Give ourselves up to 30% of the system core's time