allow PC to emulate TICI with TICI=1

This commit is contained in:
George Hotz
2021-09-14 10:48:43 -07:00
parent f07e1ae99e
commit 362f067c9c
+1
View File
@@ -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