Skip to content

Commit 661f5cf

Browse files
authored
[remote_receiver] Fix idle time for newer ESP32 variants (#5144)
1 parent 1dd23b2 commit 661f5cf

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

components/remote_receiver.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,15 @@ Configuration variables:
8080
- **filter** (*Optional*, :ref:`config-time`): Filter any pulses that are shorter than this. Useful for removing
8181
glitches from noisy signals. Allowed values are in range ``0`` to ``4294967295us``. Defaults to ``50us``.
8282
- **idle** (*Optional*, :ref:`config-time`): The amount of time that a signal should remain stable/unchanged for it to
83-
be considered complete. The maximum value is ``65536us`` on ESP32, and ``4294967295us`` on other platforms. Defaults to ``10ms``.
83+
be considered complete. The maximum allowable value is:
84+
85+
- ``65536us`` on the ``ESP32`` and ``ESP32-S2`` variants
86+
- ``32767us`` on all other ESP32 variants
87+
- ``4294967295us`` on all other platforms
88+
89+
Note: The ESP32 values listed above assume the default ``clock_resolution``. If a different ``clock_resolution`` is used,
90+
the values are scaled by 1000000 / ``clock_resolution``.
91+
8492
- **id** (*Optional*, :ref:`config-id`): Manually specify the ID used for code generation. Useful when multiple
8593
receivers are configured on a single device.
8694

0 commit comments

Comments
 (0)