Skip to content

Commit c6d7bdb

Browse files
authored
[BUG] Fix incorrect #define usage. (#597)
Originally reported in letscontrolit/ESPEasy#2230 MITSUBISHI_AC -> SEND_MITSUBISHI_AC SEND_MWM_ -> SEND_MWM Fixes #596
1 parent 8e95122 commit c6d7bdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/IRMQTTServer/IRMQTTServer.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ bool parseStringAndSendAirCon(const uint16_t irType, const String str) {
777777
irsend.sendDaikin2(reinterpret_cast<uint8_t *>(state));
778778
break;
779779
#endif
780-
#if MITSUBISHI_AC
780+
#if SEND_MITSUBISHI_AC
781781
case MITSUBISHI_AC:
782782
irsend.sendMitsubishiAC(reinterpret_cast<uint8_t *>(state));
783783
break;
@@ -847,7 +847,7 @@ bool parseStringAndSendAirCon(const uint16_t irType, const String str) {
847847
irsend.sendPanasonicAC(reinterpret_cast<uint8_t *>(state));
848848
break;
849849
#endif
850-
#if SEND_MWM_
850+
#if SEND_MWM
851851
case MWM:
852852
irsend.sendMWM(reinterpret_cast<uint8_t *>(state), stateSize);
853853
break;

0 commit comments

Comments
 (0)