projects
/
osmocom-bb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added gpsd support.
[osmocom-bb.git]
/
src
/
host
/
layer23
/
include
/
osmocom
/
bb
/
common
/
gps.h
diff --git
a/src/host/layer23/include/osmocom/bb/common/gps.h
b/src/host/layer23/include/osmocom/bb/common/gps.h
index
467cee5
..
b7500db
100644
(file)
--- a/
src/host/layer23/include/osmocom/bb/common/gps.h
+++ b/
src/host/layer23/include/osmocom/bb/common/gps.h
@@
-22,8
+22,14
@@
struct osmo_gps {
/* GPS device */
uint8_t enable;
+
+#ifdef _USE_GPSD
+ char gpsd_host[32];
+ char gpsd_port[6];
+#else
char device[32];
uint32_t baud;
+#endif
/* current data */
uint8_t valid; /* we have a fix */