remove internal rawgps (#1252)
old-commit-hash: ee7234485b4a11cfbe4fa218ed3542a1691bd903
This commit is contained in:
@@ -288,8 +288,6 @@ selfdrive/loggerd/tests/*
|
||||
selfdrive/sensord/SConscript
|
||||
selfdrive/sensord/gpsd.cc
|
||||
selfdrive/sensord/libdiag.h
|
||||
selfdrive/sensord/rawgps.cc
|
||||
selfdrive/sensord/rawgps.h
|
||||
selfdrive/sensord/sensors.cc
|
||||
selfdrive/sensord/sensord
|
||||
selfdrive/sensord/gpsd
|
||||
|
||||
@@ -2,4 +2,4 @@ Import('env', 'common', 'messaging')
|
||||
env.Program('_sensord', 'sensors.cc', LIBS=['hardware', common, 'json', messaging, 'capnp', 'zmq', 'kj'])
|
||||
lenv = env.Clone()
|
||||
lenv['LIBPATH'] += ['/system/vendor/lib64']
|
||||
lenv.Program('_gpsd', ['gpsd.cc', 'rawgps.cc'], LIBS=['hardware', common, 'diag', 'time_genoff', 'json', messaging, 'capnp', 'zmq', 'kj'])
|
||||
lenv.Program('_gpsd', ['gpsd.cc'], LIBS=['hardware', common, 'diag', 'time_genoff', 'json', messaging, 'capnp', 'zmq', 'kj'])
|
||||
|
||||
@@ -24,8 +24,6 @@
|
||||
|
||||
#include "cereal/gen/cpp/log.capnp.h"
|
||||
|
||||
#include "rawgps.h"
|
||||
|
||||
volatile sig_atomic_t do_exit = 0;
|
||||
|
||||
namespace {
|
||||
@@ -171,13 +169,6 @@ void gps_destroy() {
|
||||
gGpsInterface->cleanup();
|
||||
}
|
||||
|
||||
|
||||
int64_t arm_cntpct() {
|
||||
int64_t v;
|
||||
asm volatile("mrs %0, cntpct_el0" : "=r"(v));
|
||||
return v;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int main() {
|
||||
@@ -189,12 +180,8 @@ int main() {
|
||||
|
||||
gps_init();
|
||||
|
||||
rawgps_init();
|
||||
|
||||
while(!do_exit) pause();
|
||||
|
||||
rawgps_destroy();
|
||||
|
||||
gps_destroy();
|
||||
|
||||
return 0;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
||||
#ifndef RAWGPS_H
|
||||
#define RAWGPS_H
|
||||
|
||||
void rawgps_init();
|
||||
void rawgps_destroy();
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user