Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 174207
b: refs/heads/master
c: 6d69123
h: refs/heads/master
i:
  174205: 47e8ec4
  174203: ca4a1d3
  174199: 04590c0
  174191: 09286a5
  174175: 2923de2
  174143: deac8b2
  174079: 4b22c8e
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 5, 2009
1 parent 8d21d61 commit 75062c8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 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: 8573b74af25c279de3e309beddcba984bee9ec15
refs/heads/master: 6d691237e61ed68a04b14e3c89364e481421d6e8
7 changes: 0 additions & 7 deletions trunk/include/media/ir-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ extern int media_ir_debug; /* media_ir_debug level (0,1,2) */
#define IR_TYPE_PD 2 /* Pulse distance encoded IR */
#define IR_TYPE_OTHER 99

#define IR_KEYTAB_TYPE u32
#define IR_KEYTAB_SIZE 128 /* enougth for rc5, probably need more some day */

struct ir_scancode {
u16 scancode;
u32 keycode;
Expand All @@ -48,9 +45,6 @@ struct ir_scancode_table {
int size;
};

#define IR_KEYCODE(tab,code) (((unsigned)code < IR_KEYTAB_SIZE) \
? tab[code] : KEY_RESERVED)

#define RC5_START(x) (((x)>>12)&3)
#define RC5_TOGGLE(x) (((x)>>11)&1)
#define RC5_ADDR(x) (((x)>>6)&31)
Expand All @@ -59,7 +53,6 @@ struct ir_scancode_table {
struct ir_input_state {
/* configuration */
int ir_type;
IR_KEYTAB_TYPE ir_codes[IR_KEYTAB_SIZE];

/* key info */
u32 ir_key; /* ir scancode */
Expand Down

0 comments on commit 75062c8

Please sign in to comment.