summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-13 20:01:57 -0400
committerXANTRONIX Development2022-03-13 20:01:57 -0400
commit80e7e6e258d86f165969b5a366917b72910b8282 (patch)
tree8b79abb9773e95afff4e8fa3808b731e464e8d50
parent5e36a3241c8b0cee8b9cfd072e8b80add88e2487 (diff)
downloadxas-80e7e6e258d86f165969b5a366917b72910b8282.tar.gz
xas-80e7e6e258d86f165969b5a366917b72910b8282.tar.bz2
xas-80e7e6e258d86f165969b5a366917b72910b8282.zip
Slightly more readable in context of assignment
-rw-r--r--src/drone.c2
1 files changed, 1 insertions, 1 deletions
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;
}