Skip to content

Commit 82bc718

Browse files
committed
fix typo
1 parent 6a31be0 commit 82bc718

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/ir_remote.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ use infrared::{protocols::Nec, Sender};
2121
use rtic::app;
2222

2323
const IR_SAMPLERATE: Hertz = Hertz(20_000);
24-
const STOBE_COMMAND: NecCommand = NecCommand {
24+
const STROBE_COMMAND: NecCommand = NecCommand {
2525
addr: 0,
2626
cmd: 15,
2727
repeat: false,
@@ -73,7 +73,7 @@ const APP: () = {
7373
fn button_click(ctx: button_click::Context) {
7474
ctx.resources
7575
.transmitter
76-
.load(&STOBE_COMMAND)
76+
.load(&STROBE_COMMAND)
7777
.expect("failed to send IR command");
7878
ctx.resources.exti.unpend(Event::GPIO13);
7979
}

0 commit comments

Comments
 (0)