From 80e7e6e258d86f165969b5a366917b72910b8282 Mon Sep 17 00:00:00 2001 From: XANTRONIX Development Date: Sun, 13 Mar 2022 20:01:57 -0400 Subject: Slightly more readable in context of assignment --- src/drone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drone.c b/src/drone.c index 3c611e4..1562196 100644 --- a/src/drone.c +++ b/src/drone.c @@ -410,7 +410,7 @@ static void max_speech_duration(xas_drone_chamber *chamber, speech_part, &duration); - if (timercmp(&duration, max, >)) { + if (timercmp(max, &duration, <)) { max->tv_sec = duration.tv_sec; max->tv_usec = duration.tv_usec; } -- cgit v1.2.3