Rev 1562 | Rev 1588 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1562 | Rev 1563 | ||
|---|---|---|---|
| Line 33... | Line 33... | ||
| 33 | #if (IR_PROTOCOLS_USE_MARANTZ) |
33 | #if (IR_PROTOCOLS_USE_MARANTZ) |
| 34 | if (parseMarantz(buf, len, proto)==IR_OK) return IR_OK; |
34 | if (parseMarantz(buf, len, proto)==IR_OK) return IR_OK; |
| 35 | #endif |
35 | #endif |
| 36 | #if (IR_PROTOCOLS_USE_PANASONIC) |
36 | #if (IR_PROTOCOLS_USE_PANASONIC) |
| 37 | if (parsePanasonic(buf, len, proto)==IR_OK) return IR_OK; |
37 | if (parsePanasonic(buf, len, proto)==IR_OK) return IR_OK; |
| - | 38 | #endif |
|
| - | 39 | #if (IR_PROTOCOLS_USE_SKY) |
|
| - | 40 | if (parseSky(buf, len, proto)==IR_OK) return IR_OK; |
|
| 38 | #endif |
41 | #endif |
| 39 | /* No protocol matched. */ |
42 | /* No protocol matched. */ |
| 40 | proto->protocol = IR_PROTO_UNKNOWN; |
43 | proto->protocol = IR_PROTO_UNKNOWN; |
| 41 | return IR_NOT_CORRECT_DATA; |
44 | return IR_NOT_CORRECT_DATA; |
| 42 | } |
45 | } |
| Line 65... | Line 68... | ||
| 65 | return expandSamsung(buf, len, proto); |
68 | return expandSamsung(buf, len, proto); |
| 66 | case IR_PROTO_MARANTZ: |
69 | case IR_PROTO_MARANTZ: |
| 67 | return expandMarantz(buf, len, proto); |
70 | return expandMarantz(buf, len, proto); |
| 68 | case IR_PROTO_PANASONIC: |
71 | case IR_PROTO_PANASONIC: |
| 69 | return expandPanasonic(buf, len, proto); |
72 | return expandPanasonic(buf, len, proto); |
| - | 73 | case IR_PROTO_SKY: |
|
| - | 74 | return expandSky(buf, len, proto); |
|
| 70 | } |
75 | } |
| 71 | /* Invalid protocol specified. */ |
76 | /* Invalid protocol specified. */ |
| 72 | return IR_NOT_CORRECT_DATA; |
77 | return IR_NOT_CORRECT_DATA; |
| 73 | } |
78 | } |
| 74 | 79 | ||