Skip to content

Commit 39136b6

Browse files
committed
Bumped version to 4.4.1
1 parent 7a115e8 commit 39136b6

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

examples/SimpleReceiverForHashCodes/SimpleReceiverForHashCodes.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,22 +68,22 @@ void loop() {
6868
if (IrReceiver.available()) {
6969
IrReceiver.initDecodedIRData(); // is required, if we do not call decode();
7070
IrReceiver.decodeHash();
71+
IrReceiver.resume(); // Early enable receiving of the next IR frame
7172
/*
72-
* Print a summary of received data
73+
* Print a summary and then timing of received data
7374
*/
74-
// We have an unknown protocol here, print extended info
75+
IrReceiver.printIRResultShort(&Serial);
7576
IrReceiver.printIRResultRawFormatted(&Serial, true);
76-
IrReceiver.resume(); // Early enable receiving of the next IR frame
7777

78-
IrReceiver.printIRResultShort(&Serial);
7978
Serial.println();
8079

8180
/*
8281
* Finally, check the received data and perform actions according to the received command
8382
*/
84-
if (IrReceiver.decodedIRData.decodedRawData == 0x4F7BE2FB) {
83+
auto tDecodedRawData = IrReceiver.decodedIRData.decodedRawData; // uint32_t on 8 and 16 bit CPUs and uint64_t on 32 and 64 bit CPUs
84+
if (tDecodedRawData == 0x4F7BE2FB) {
8585
// do something
86-
} else if (IrReceiver.decodedIRData.decodedRawData == 0x97483BFB) {
86+
} else if (tDecodedRawData == 0x97483BFB) {
8787
// do something else
8888
}
8989
}

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/Arduino-IRremote/Arduino-IRremote.git"
99
},
10-
"version": "4.4.0",
10+
"version": "4.4.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=4.4.0
2+
version=4.4.1
33
author=shirriff, z3t0, ArminJo
44
maintainer=Armin Joachimsmeyer <[email protected]>
55
sentence=Send and receive infrared signals with multiple protocols

src/IRVersion.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
#ifndef _IR_VERSION_HPP
3737
#define _IR_VERSION_HPP
3838

39-
#define VERSION_IRREMOTE "4.4.0"
39+
#define VERSION_IRREMOTE "4.4.1"
4040
#define VERSION_IRREMOTE_MAJOR 4
4141
#define VERSION_IRREMOTE_MINOR 4
42-
#define VERSION_IRREMOTE_PATCH 0
42+
#define VERSION_IRREMOTE_PATCH 1
4343

4444
/*
4545
* Macro to convert 3 version parts into an integer

src/private/IRTimer.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ void timerConfigForReceive() {
14921492
// 3 timers, choose #1, 80 divider for microsecond precision @80MHz clock, count_up = true
14931493
if(s50usTimer == NULL) {
14941494
# if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 0, 0)
1495-
s50usTimer = timerBegin(1000000); // only 1 parameter is required. 1 MHz corresponds to 1 uSec
1495+
s50usTimer = timerBegin(1000000); // Only 1 parameter is required. 1000000 corresponds to 1 MHz / 1 uSec
14961496
timerAttachInterrupt(s50usTimer, &IRReceiveTimerInterruptHandler);
14971497
timerAlarm(s50usTimer, MICROS_PER_TICK, true, 0); // 0 in the last parameter is repeat forever
14981498
# else

0 commit comments

Comments
 (0)