aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/chelper/pyhelper.c
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/chelper/pyhelper.c')
-rw-r--r--klippy/chelper/pyhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/chelper/pyhelper.c b/klippy/chelper/pyhelper.c
index 947e5ee1..a0a42923 100644
--- a/klippy/chelper/pyhelper.c
+++ b/klippy/chelper/pyhelper.c
@@ -18,7 +18,7 @@ double __visible
get_monotonic(void)
{
struct timespec ts;
- int ret = clock_gettime(CLOCK_MONOTONIC, &ts);
+ int ret = clock_gettime(CLOCK_MONOTONIC_RAW, &ts);
if (ret) {
report_errno("clock_gettime", ret);
return 0.;