Skip to content

Commit

Permalink
Add feature for tests over rc-loopback (disabled by default)
Browse files Browse the repository at this point in the history
Signed-off-by: Sean Young <sean@mess.org>
  • Loading branch information
seanyoung committed Aug 15, 2024
1 parent 84b82dc commit 0813977
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cir/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,7 @@ libirctl = { workspace = true }
libkcodec = { workspace = true }
rand = "0.8"
pretty_assertions = "1.4"

[features]
default = []
loopback-tests = []
2 changes: 1 addition & 1 deletion cir/src/bin/commands/transmit.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ pub fn transmit(args: &crate::App, transmit: &crate::Transmit) {
.iter()
.fold(0, |acc, t| acc | (1 << (t - 1)));

info!("debug: setting transmitter mask {:08x}", mask);
info!("debug: setting transmitter mask {:#b}", mask);

match lircdev.set_transmitter_mask(mask) {
Ok(v) => v,
Expand Down

0 comments on commit 0813977

Please sign in to comment.