aboutsummaryrefslogtreecommitdiff
path: root/examples/ostimer_async.rs
diff options
context:
space:
mode:
authorFelipe Balbi <[email protected]>2025-11-07 10:07:33 -0800
committerFelipe Balbi <[email protected]>2025-11-07 10:08:16 -0800
commite75066820ad320495ca70570641c90d75247b19b (patch)
treeda2aeddb9164dbc2829b54185d1f180efbad6daf /examples/ostimer_async.rs
parentcb2ac2790f4b037056f9571abeb4d62360199426 (diff)
cargo +nightly fmt
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'examples/ostimer_async.rs')
-rw-r--r--examples/ostimer_async.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/ostimer_async.rs b/examples/ostimer_async.rs
index 37fb3b3d1..27e14e022 100644
--- a/examples/ostimer_async.rs
+++ b/examples/ostimer_async.rs
@@ -42,10 +42,7 @@ async fn main(_spawner: Spawner) {
42 42
43 // Initialize OSTIMER with default 1MHz frequency 43 // Initialize OSTIMER with default 1MHz frequency
44 // Adjust this value to match your actual OSTIMER clock frequency 44 // Adjust this value to match your actual OSTIMER clock frequency
45 hal::ostimer::time_driver::init( 45 hal::ostimer::time_driver::init(hal::config::Config::default().time_interrupt_priority, 1_000_000);
46 hal::config::Config::default().time_interrupt_priority,
47 1_000_000,
48 );
49 46
50 // Removed force-pend; rely on real hardware match to trigger OS_EVENT. 47 // Removed force-pend; rely on real hardware match to trigger OS_EVENT.
51 48