Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 330801
b: refs/heads/master
c: 2eec676
h: refs/heads/master
i:
  330799: fdbfe98
v: v3
  • Loading branch information
Sean Young authored and Mauro Carvalho Chehab committed Aug 13, 2012
1 parent 59283a7 commit 38a6aa0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 116e4f592a4d207031b2eaf9dacb57de587146ef
refs/heads/master: 2eec676cd3097bc37618e57c19b17cbeac13cdf4
7 changes: 5 additions & 2 deletions trunk/drivers/media/rc/iguanair.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ struct iguanair {

#define MAX_PACKET_SIZE 8u
#define TIMEOUT 1000
#define RX_RESOLUTION 21333

struct packet {
uint16_t start;
Expand Down Expand Up @@ -143,7 +144,7 @@ static void process_ir_data(struct iguanair *ir, unsigned len)
} else {
rawir.pulse = (ir->buf_in[i] & 0x80) == 0;
rawir.duration = ((ir->buf_in[i] & 0x7f) + 1) *
21330;
RX_RESOLUTION;
}

ir_raw_event_store_with_filter(ir->rc, &rawir);
Expand Down Expand Up @@ -517,7 +518,9 @@ static int __devinit iguanair_probe(struct usb_interface *intf,
rc->s_tx_carrier = iguanair_set_tx_carrier;
rc->tx_ir = iguanair_tx;
rc->driver_name = DRIVER_NAME;
rc->map_name = RC_MAP_EMPTY;
rc->map_name = RC_MAP_RC6_MCE;
rc->timeout = MS_TO_NS(100);
rc->rx_resolution = RX_RESOLUTION;

iguanair_set_tx_carrier(rc, 38000);

Expand Down

0 comments on commit 38a6aa0

Please sign in to comment.