Skip to content
Commit 166bf18d authored by Raffael Rostagno's avatar Raffael Rostagno Committed by Benjamin Cabé
Browse files

drivers: counter: esp32: Fix alarm stops working



Fix condition in which alarm stops working after a certain amount
of time. Hardware timer is 54-bit, yet it is treated as 32-bit by
the counter driver. To allow alarm event by hardware comparators,
counter high word must be loaded into the register along with
the lower word managed by the driver.

Signed-off-by: default avatarRaffael Rostagno <raffael.rostagno@espressif.com>
parent 08e32872
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment