aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/cec-compliance/cec-compliance.h4
-rw-r--r--utils/cec-ctl/cec-ctl.cpp4
2 files changed, 4 insertions, 4 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;
}
diff --git a/utils/cec-ctl/cec-ctl.cpp b/utils/cec-ctl/cec-ctl.cpp
index 76b5af1b..15d70184 100644
--- a/utils/cec-ctl/cec-ctl.cpp
+++ b/utils/cec-ctl/cec-ctl.cpp
@@ -1344,8 +1344,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