Skip to content

Commit efafe95

Browse files
committed
Version 3.7.1 and fixed ESP32 send bug for 2.x ESP32 cores
1 parent fe3bafe commit efafe95

File tree

5 files changed

+11
-13
lines changed

5 files changed

+11
-13
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ See also the commit log at github: https://github.com/Arduino-IRremote/Arduino-I
55
## 3.7.1
66
- SendRaw now supports bufferlenght > 255.
77
- Improved DistanceProtocol decoder output.
8+
- Fixed ESP32 send bug for 2.x ESP32 cores.
89

910
## 3.7.0
1011
- Changed TOLERANCE to TOLERANCE_FOR_DECODERS_MARK_OR_SPACE_MATCHING and documented it.

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "git",
88
"url": "https://github.com/z3t0/Arduino-IRremote.git"
99
},
10-
"version": "3.7.0",
10+
"version": "3.7.1",
1111
"frameworks": "arduino",
1212
"platforms": ["atmelavr", "atmelmegaavr", "atmelsam", "espressif8266", "espressif32", "ststm32"],
1313
"authors" :

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=IRremote
2-
version=3.7.0
2+
version=3.7.1
33
author=shirriff, z3t0, ArminJo
44
maintainer=Armin Joachimsmeyer <[email protected]>
55
sentence=Send and receive infrared signals with multiple protocols

src/IRSend.hpp

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -429,12 +429,7 @@ void IRsend::mark(unsigned int aMarkMicros) {
429429
# endif
430430
ENABLE_SEND_PWM_BY_TIMER; // Enable timer or ledcWrite() generated PWM output
431431
customDelayMicroseconds(aMarkMicros);
432-
IRLedOff();
433-
# if !defined(NO_LED_FEEDBACK_CODE)
434-
if (FeedbackLEDControl.LedFeedbackEnabled == LED_FEEDBACK_ENABLED_FOR_SEND) {
435-
setFeedbackLED(false);
436-
}
437-
# endif
432+
IRLedOff(); // manages also feedback LED
438433

439434
#elif defined(USE_NO_SEND_PWM)
440435
# if !defined(NO_LED_FEEDBACK_CODE)
@@ -626,17 +621,19 @@ void IRsend::enableIROut(uint_fast8_t aFrequencyKHz) {
626621
#endif // defined(SEND_PWM_BY_TIMER)
627622

628623
#if defined(USE_OPEN_DRAIN_OUTPUT_FOR_SEND_PIN) && defined(OUTPUT_OPEN_DRAIN) // the mode INPUT for mimicking open drain is set at IRLedOff()
629-
# if defined(IR_SEND_PIN)
624+
# if defined(IR_SEND_PIN)
630625
pinModeFast(IR_SEND_PIN, OUTPUT_OPEN_DRAIN);
631-
# else
626+
# else
632627
pinModeFast(sendPin, OUTPUT_OPEN_DRAIN);
633-
# endif
628+
# endif
634629
#else
630+
# if !(defined(SEND_PWM_BY_TIMER) && defined(ESP32)) // ledcWrite since ESP 2.0.2 does not work if pin mode is set
635631
# if defined(IR_SEND_PIN)
636632
pinModeFast(IR_SEND_PIN, OUTPUT);
637633
# else
638634
pinModeFast(sendPin, OUTPUT);
639635
# endif
636+
# endif
640637
#endif // defined(USE_OPEN_DRAIN_OUTPUT_FOR_SEND_PIN)
641638
}
642639

src/IRremote.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@
6565
#ifndef _IR_REMOTE_HPP
6666
#define _IR_REMOTE_HPP
6767

68-
#define VERSION_IRREMOTE "3.7.0"
68+
#define VERSION_IRREMOTE "3.7.1"
6969
#define VERSION_IRREMOTE_MAJOR 3
7070
#define VERSION_IRREMOTE_MINOR 7
71-
#define VERSION_IRREMOTE_PATCH 0
71+
#define VERSION_IRREMOTE_PATCH 1
7272

7373
/*
7474
* Macro to convert 3 version parts into an integer

0 commit comments

Comments
 (0)