From f64f0c125f7c248184d76a784c83e02ad52756cf Mon Sep 17 00:00:00 2001 From: c vw Date: Tue, 25 Jan 2022 15:38:18 +0100 Subject: [PATCH] gpio.c: made millis() uint32_t to conform to i2c.c --- gpio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpio.c b/gpio.c index 70c349a..c4afa7e 100644 --- a/gpio.c +++ b/gpio.c @@ -349,7 +349,7 @@ static void initialiseEpoch() { epochMilli = (uint64_t)ts.tv_sec * (uint64_t)1000 + (uint64_t)(ts.tv_nsec / 1000000L) ; } -unsigned int millis () { +static uint32_t millis () { uint64_t now ; struct timespec ts ; clock_gettime (CLOCK_MONOTONIC_RAW, &ts) ; -- 2.45.2