IRMP-org / IRMP

Infrared Multi Protocol Decoder
GNU General Public License v3.0
274 stars 44 forks source link

bugs in irmpArduinoExt.cpp.h irmp_print_protocol_name #46

Closed DamjanBabaVidin closed 3 years ago

DamjanBabaVidin commented 3 years ago

Bug Report

in irmpArduinoExt.cpp.h - > irmp_print_protocol_name

if IRMP_PROTOCOL_NAMES == 1 print both name and code example: SIRCS0x01 has to be SIRCS Bug is in lines:

endif

endif

aSerial->print(F("0x"));
aSerial->print(aProtocolNumber, HEX);

}

To fix change to:

endif

else

aSerial->print(F("0x"));
aSerial->print(aProtocolNumber, HEX);

endif

}

ArminJo commented 3 years ago

Thanks for reporting! 🥇