aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Henrik Tjäder <henrik@tjaders.com> 2023-01-11 21:48:21 +0100
committerGravatar Henrik Tjäder <henrik@tjaders.com> 2023-01-11 22:16:56 +0100
commit050313d62d84dd9f537bbc578213f18cd7640d04 (patch)
treecaa51cc2b6dad1f8be02113b9247b0f1eabc2c27
parentc370c0b21f054fa224680b95df63ca3d59f33ba1 (diff)
downloadrtic-050313d62d84dd9f537bbc578213f18cd7640d04.tar.gz
rtic-050313d62d84dd9f537bbc578213f18cd7640d04.tar.zst
rtic-050313d62d84dd9f537bbc578213f18cd7640d04.zip
Missed hprintln with multiline
-rw-r--r--examples/binds.rs3
-rw-r--r--examples/cfg-whole-task.rs3
-rw-r--r--examples/complex.rs9
-rw-r--r--examples/hardware.rs3
4 files changed, 6 insertions, 12 deletions
diff --git a/examples/binds.rs b/examples/binds.rs
index 04b8fad1..db5bd96f 100644
--- a/examples/binds.rs
+++ b/examples/binds.rs
@@ -49,7 +49,6 @@ mod app {
"foo called {} time{}",
*cx.local.times,
if *cx.local.times > 1 { "s" } else { "" }
- )
- .unwrap();
+ );
}
}
diff --git a/examples/cfg-whole-task.rs b/examples/cfg-whole-task.rs
index f41866db..90fb9ccc 100644
--- a/examples/cfg-whole-task.rs
+++ b/examples/cfg-whole-task.rs
@@ -88,7 +88,6 @@ mod app {
"foo has been called {} time{}",
n,
if n == 1 { "" } else { "s" }
- )
- .ok();
+ );
}
}
diff --git a/examples/complex.rs b/examples/complex.rs
index 742f9c7d..2be71d22 100644
--- a/examples/complex.rs
+++ b/examples/complex.rs
@@ -82,8 +82,7 @@ mod app {
"t0 p2 called {} time{}",
*cx.local.times,
if *cx.local.times > 1 { "s" } else { "" }
- )
- .ok();
+ );
hprintln!("t0 p2 exit");
}
@@ -96,8 +95,7 @@ mod app {
"t1 p3 called {} time{}",
*cx.local.times,
if *cx.local.times > 1 { "s" } else { "" }
- )
- .ok();
+ );
cx.shared.s4.lock(|s| {
hprintln!("t1 enter lock s4 {}", s);
@@ -120,8 +118,7 @@ mod app {
"t2 p4 called {} time{}",
*cx.local.times,
if *cx.local.times > 1 { "s" } else { "" }
- )
- .unwrap();
+ );
cx.shared.s4.lock(|s| {
hprintln!("enter lock s4 {}", s);
diff --git a/examples/hardware.rs b/examples/hardware.rs
index 22cf5d92..8f294559 100644
--- a/examples/hardware.rs
+++ b/examples/hardware.rs
@@ -53,7 +53,6 @@ mod app {
"UART0 called {} time{}",
*cx.local.times,
if *cx.local.times > 1 { "s" } else { "" }
- )
- .unwrap();
+ );
}
}