From b3c6320899d6b27899ab3c67c745e8d3b29af3a2 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 19 Feb 2019 13:46:18 +0000 Subject: working ethernet --- app/gps.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 app/gps.h (limited to 'app/gps.h') diff --git a/app/gps.h b/app/gps.h new file mode 100644 index 0000000..ce6ee14 --- /dev/null +++ b/app/gps.h @@ -0,0 +1,11 @@ +extern int gps_happy; + +static inline int gps_is_happy (void) +{ + return gps_happy > 15; +} +static inline int gps_is_stable (void) +{ + return gps_happy > 60; +} + -- cgit v1.2.3