MCPcopy Create free account
hub / github.com/Arduino-IRremote/Arduino-IRremote / getProtocolString

Function getProtocolString

src/IRProtocol.hpp:89–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

checkHeaderMethod · 0.85
checkHeader_PMethod · 0.85
IRReceive.hppFile · 0.85
printIRSendUsageMethod · 0.85
getProtocolStringMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected