| 87 | |
| 88 | #if defined(__AVR__) |
| 89 | const __FlashStringHelper* getProtocolString(decode_type_t aProtocol) { |
| 90 | const char *tProtocolStringPtr = (char*) pgm_read_word(&ProtocolNames[aProtocol]); |
| 91 | return ((__FlashStringHelper*) (tProtocolStringPtr)); |
| 92 | } |
| 93 | #else |
| 94 | const char* getProtocolString(decode_type_t aProtocol) { |
| 95 | return ProtocolNames[aProtocol]; |
no outgoing calls
no test coverage detected