summaryrefslogtreecommitdiffstats
path: root/app/gps.h
blob: ce6ee1419b44479f3cf87d444e5645fee2855341 (plain)
1
2
3
4
5
6
7
8
9
10
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;
}