aboutsummaryrefslogtreecommitdiffstats
path: root/utils/cec-compliance/cec-compliance.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/cec-compliance/cec-compliance.h')
-rw-r--r--utils/cec-compliance/cec-compliance.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/cec-compliance/cec-compliance.h b/utils/cec-compliance/cec-compliance.h
index 132bfba6..31449b46 100644
--- a/utils/cec-compliance/cec-compliance.h
+++ b/utils/cec-compliance/cec-compliance.h
@@ -337,8 +337,8 @@ static inline unsigned response_time_ms(const struct cec_msg *msg)
// Compensate for the time it took (approx.) to receive the
// message.
- if (ms >= msg->len * 25)
- return ms - msg->len * 25;
+ if (ms >= msg->len * 24)
+ return ms - msg->len * 24;
return 0;
}

Privacy Policy