Skip to content

Commit f231a02

Browse files
committed
limmiting function
1 parent bf5f656 commit f231a02

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/ir/custom_ir.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ void sendKaseikyoCommand(String address, String command) {
584584

585585
bool sendDecodedCommand(String protocol, String value, uint8_t bits) {
586586
// https://github.com/crankyoldgit/IRremoteESP8266/blob/master/examples/SmartIRRepeater/SmartIRRepeater.ino
587-
#ifndef LITE_VERSION
587+
#if !defined(LITE_VERSION) && !defined(ARDUINO_M5STICK_C_PLUS)
588588
decode_type_t type = strToDecodeType(protocol.c_str());
589589
if (type == decode_type_t::UNKNOWN) return false;
590590

@@ -632,7 +632,7 @@ bool sendDecodedCommand(String protocol, String value, uint8_t bits) {
632632
digitalWrite(bruceConfig.irTx, LED_OFF);
633633
return success;
634634
#else
635-
displayTextLine("Unavailable on LITE Version");
635+
displayTextLine("Unavailable on this Version");
636636
delay(1000);
637637
return false;
638638
#endif

0 commit comments

Comments
 (0)