summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;
}