allow PC to emulate TICI with TICI=1
parent
f07e1ae99e
commit
362f067c9c
|
@ -14,6 +14,7 @@ class HardwarePC : public HardwareNone {
|
|||
public:
|
||||
static std::string get_os_version() { return "openpilot for PC"; }
|
||||
static bool PC() { return true; }
|
||||
static bool TICI() { const char *tici = getenv("TICI"); return (tici != nullptr) && (strcmp(tici, "1") == 0); }
|
||||
};
|
||||
#define Hardware HardwarePC
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue