blob: d7c08a881b972acbf458969462649a8c87e8f670 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#ifndef LOCATION_H
#define LOCATION_H
#include "legato.h"
// Used to convert GPS int to double
#define GPS_DECIMAL_SHIFT 6
// Used for distance calculations
#define MIN_REQUIRED_HORIZ_ACCURACY_METRES 10 // TODO validate that this is realistic
#define POLL_PERIOD_SEC 2 * 60 // 2 minutes
#define RETRY_PERIOD_SEC 1
#endif // LOCATION_H
|