We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a31be0 commit 82bc718Copy full SHA for 82bc718
examples/ir_remote.rs
@@ -21,7 +21,7 @@ use infrared::{protocols::Nec, Sender};
21
use rtic::app;
22
23
const IR_SAMPLERATE: Hertz = Hertz(20_000);
24
-const STOBE_COMMAND: NecCommand = NecCommand {
+const STROBE_COMMAND: NecCommand = NecCommand {
25
addr: 0,
26
cmd: 15,
27
repeat: false,
@@ -73,7 +73,7 @@ const APP: () = {
73
fn button_click(ctx: button_click::Context) {
74
ctx.resources
75
.transmitter
76
- .load(&STOBE_COMMAND)
+ .load(&STROBE_COMMAND)
77
.expect("failed to send IR command");
78
ctx.resources.exti.unpend(Event::GPIO13);
79
}
0 commit comments