forked from IQ.Lvbs/IQ.Pilot
IQ.Pilot Release Commit @ 0b96bd5
This commit is contained in:
@@ -7,6 +7,10 @@
|
||||
#include "cereal/services.h"
|
||||
#include "cereal/messaging/messaging.h"
|
||||
|
||||
#ifndef SERVICES_REGISTRY_STAMPED
|
||||
static const char SERVICES_REGISTRY_TAG[] = "IQ_SERVICES_REGISTRY:unstamped";
|
||||
#endif
|
||||
|
||||
const bool SIMULATION = (getenv("SIMULATION") != nullptr) && (std::string(getenv("SIMULATION")) == "1");
|
||||
|
||||
static inline bool inList(const std::vector<const char *> &list, const char *value) {
|
||||
|
||||
@@ -168,6 +168,7 @@ def build_header():
|
||||
h += ' { "%s", {"%s", %s, %f, %d, %d}},\n' % \
|
||||
(k, k, should_log, v.frequency, decimation, v.queue_size)
|
||||
h += "};\n"
|
||||
h += "#define SERVICES_REGISTRY_STAMPED 1\n"
|
||||
h += f'static const char SERVICES_REGISTRY_TAG[] = "{registry_tag()}";\n'
|
||||
|
||||
h += "#endif\n"
|
||||
|
||||
Reference in New Issue
Block a user