Rev 2259 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 2259 | Rev 2297 | ||
|---|---|---|---|
| Line 62... | Line 62... | ||
| 62 | #ifndef IR_PROTOCOLS_USE_NEXA1 |
62 | #ifndef IR_PROTOCOLS_USE_NEXA1 |
| 63 | # define IR_PROTOCOLS_USE_NEXA1 1 |
63 | # define IR_PROTOCOLS_USE_NEXA1 1 |
| 64 | #endif |
64 | #endif |
| 65 | #ifndef IR_PROTOCOLS_USE_VIKING |
65 | #ifndef IR_PROTOCOLS_USE_VIKING |
| 66 | # define IR_PROTOCOLS_USE_VIKING 1 |
66 | # define IR_PROTOCOLS_USE_VIKING 1 |
| - | 67 | #endif |
|
| - | 68 | #ifndef IR_PROTOCOLS_USE_VIKING_T3 |
|
| - | 69 | # define IR_PROTOCOLS_USE_VIKING_T3 0 |
|
| 67 | #endif |
70 | #endif |
| 68 | #ifndef IR_PROTOCOLS_USE_VIKING_STEAK |
71 | #ifndef IR_PROTOCOLS_USE_VIKING_STEAK |
| 69 | # define IR_PROTOCOLS_USE_VIKING_STEAK 1 |
72 | # define IR_PROTOCOLS_USE_VIKING_STEAK 1 |
| 70 | #endif |
73 | #endif |
| 71 | #ifndef IR_PROTOCOLS_USE_RUBICSON |
74 | #ifndef IR_PROTOCOLS_USE_RUBICSON |
| Line 82... | Line 85... | ||
| 82 | #if (IR_PROTOCOLS_USE_SIRC) |
85 | #if (IR_PROTOCOLS_USE_SIRC) |
| 83 | int8_t parseSIRC(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
86 | int8_t parseSIRC(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 84 | #endif |
87 | #endif |
| 85 | #if (IR_PROTOCOLS_USE_RC5) |
88 | #if (IR_PROTOCOLS_USE_RC5) |
| 86 | int8_t parseRC5(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
89 | int8_t parseRC5(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 87 | #endif |
90 | #endif |
| 88 | #if (IR_PROTOCOLS_USE_SHARP) |
91 | #if (IR_PROTOCOLS_USE_SHARP) |
| 89 | int8_t parseSharp(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
92 | int8_t parseSharp(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 90 | #endif |
93 | #endif |
| 91 | #if (IR_PROTOCOLS_USE_NEC) |
94 | #if (IR_PROTOCOLS_USE_NEC) |
| 92 | int8_t parseNEC(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
95 | int8_t parseNEC(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 93 | #endif |
96 | #endif |
| 94 | #if (IR_PROTOCOLS_USE_SAMSUNG) |
97 | #if (IR_PROTOCOLS_USE_SAMSUNG) |
| 95 | int8_t parseSamsung(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
98 | int8_t parseSamsung(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| 96 | #endif |
99 | #endif |
| 97 | #if (IR_PROTOCOLS_USE_MARANTZ) |
100 | #if (IR_PROTOCOLS_USE_MARANTZ) |
| 98 | int8_t parseMarantz(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
101 | int8_t parseMarantz(const uint16_t *buf, uint8_t len, Ir_Protocol_Data_t *proto); |
| Line 115... | Line 118... | ||
| 115 | #if (IR_PROTOCOLS_USE_NEXA1) |
118 | #if (IR_PROTOCOLS_USE_NEXA1) |
| 116 | int8_t parseNexa1(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
119 | int8_t parseNexa1(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
| 117 | #endif |
120 | #endif |
| 118 | #if (IR_PROTOCOLS_USE_VIKING) |
121 | #if (IR_PROTOCOLS_USE_VIKING) |
| 119 | int8_t parseViking(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
122 | int8_t parseViking(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
| - | 123 | #endif |
|
| - | 124 | #if (IR_PROTOCOLS_USE_VIKING_T3) |
|
| - | 125 | #include <util/crc16.h> |
|
| - | 126 | int8_t parseVikingT3(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
|
| 120 | #endif |
127 | #endif |
| 121 | #if (IR_PROTOCOLS_USE_VIKING_STEAK) |
128 | #if (IR_PROTOCOLS_USE_VIKING_STEAK) |
| 122 | int8_t parseVikingSteak(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
129 | int8_t parseVikingSteak(const uint16_t *buf, uint8_t len, uint8_t index, Ir_Protocol_Data_t *proto); |
| 123 | #endif |
130 | #endif |
| 124 | #if (IR_PROTOCOLS_USE_RUBICSON) |
131 | #if (IR_PROTOCOLS_USE_RUBICSON) |