Remove vestigal debug printlns

This commit is contained in:
Corey Richardson 2017-05-28 17:52:20 -04:00
parent c6076443aa
commit fc27acc715
No known key found for this signature in database
GPG key ID: A89E9F8FB71E9B8B

View file

@ -758,7 +758,6 @@ impl Device {
if dev.ty.contains(ABSOLUTE) { if dev.ty.contains(ABSOLUTE) {
do_ioctl!(eviocgbit(fd, ABSOLUTE.number(), 0x3f, &mut bits64 as *mut u64 as *mut u8)); do_ioctl!(eviocgbit(fd, ABSOLUTE.number(), 0x3f, &mut bits64 as *mut u64 as *mut u8));
println!("abs bits: {:b}", bits64);
dev.abs = AbsoluteAxis::from_bits(bits64).expect("evdev: unexpected abs bits! report a bug"); dev.abs = AbsoluteAxis::from_bits(bits64).expect("evdev: unexpected abs bits! report a bug");
dev.state.abs_vals = vec![input_absinfo::default(); 0x3f]; dev.state.abs_vals = vec![input_absinfo::default(); 0x3f];
} }
@ -770,7 +769,6 @@ impl Device {
if dev.ty.contains(LED) { if dev.ty.contains(LED) {
do_ioctl!(eviocgbit(fd, LED.number(), 0xf, &mut bits as *mut u32 as *mut u8)); do_ioctl!(eviocgbit(fd, LED.number(), 0xf, &mut bits as *mut u32 as *mut u8));
println!("{:b}", bits);
dev.led = Led::from_bits(bits).expect("evdev: unexpected led bits! report a bug"); dev.led = Led::from_bits(bits).expect("evdev: unexpected led bits! report a bug");
} }