projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
338e247
)
gpio.c: made millis() uint32_t to conform to i2c.c
author
c vw
<dl1ycf@darc.de>
Tue, 25 Jan 2022 14:38:18 +0000
(15:38 +0100)
committer
c vw
<dl1ycf@darc.de>
Tue, 25 Jan 2022 14:38:18 +0000
(15:38 +0100)
gpio.c
patch
|
blob
|
history
diff --git
a/gpio.c
b/gpio.c
index 70c349a9abd195bb4dfbff7858d938309ac6b1ad..c4afa7e3152cb37827b31c928cadeeec4350ea5d 100644
(file)
--- 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 in
t millis () {
+
static uint32_
t millis () {
uint64_t now ;
struct timespec ts ;
clock_gettime (CLOCK_MONOTONIC_RAW, &ts) ;