Skip to content

Commit ee75848

Browse files
committed
1 parent d7acf29 commit ee75848

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ Instead of sampling the input every 50 µs as IRremote does, TinyReceiver r
588588
On each level change, the level and the time since the last change are used to incrementally decode the protocol.<br/>
589589
With this operating principle, we **cannot wait for a timeout** and then decode the protocol as IRremote does.<br/>
590590
Instead, we need to know which is the last bit (level change) of a protocol to do the final decoding
591-
and the call of the optional **user provided callback function** `handleTinyReceivedIRData()`.<br/>
591+
and the call of the optional **user provided callback function** `handleReceivedTinyIRData()`.<br/>
592592
This means, **we need to know the number of bits in a protocol** and therefore the protocol (family).
593593
594594
Check out the [TinyReceiver](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#tinyreceiver--tinysender) and [IRDispatcherDemo](https://github.com/Arduino-IRremote/Arduino-IRremote?tab=readme-ov-file#irdispatcherdemo) examples.<br/>

src/TinyIRReceiver.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ volatile TinyIRReceiverCallbackDataStruct TinyIRReceiverData;
151151
* Declaration of the callback function provided by the user application.
152152
* It is called every time a complete IR command or repeat was received.
153153
*/
154-
extern void handleTinyReceivedIRData();
154+
extern void handleReceivedTinyIRData();
155155

156156
#if defined(LOCAL_DEBUG)
157157
uint32_t sMicrosOfGap; // The length of the gap before the start bit

0 commit comments

Comments
 (0)