From b28f6af1b7513431e9ff5666118cad467a57063f Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 30 Nov 2023 14:54:10 +0100 Subject: [PATCH] Fix typo in comment Co-authored-by: daniel-zullo-frequenz <120166726+daniel-zullo-frequenz@users.noreply.github.com> Signed-off-by: Leandro Lucarella --- src/frequenz/channels/timer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frequenz/channels/timer.py b/src/frequenz/channels/timer.py index 229a8d9c..ff02d55a 100644 --- a/src/frequenz/channels/timer.py +++ b/src/frequenz/channels/timer.py @@ -699,7 +699,7 @@ async def ready(self) -> bool: # noqa: DOC502 # If we didn't reach the tick yet, sleep until we do. # We need to do this in a loop also reacting to the reset event, as the timer - # could be reset while we are sleeping, in which case we need to recalculated + # could be reset while we are sleeping, in which case we need to recalculate # the time to the next tick and try again. while time_to_next_tick > 0: await asyncio.sleep(time_to_next_tick / 1_000_000)