allow PC to emulate TICI with TICI=1

pull/22231/head
George Hotz 4 years ago
parent f07e1ae99e
commit 362f067c9c
  1. 1
      selfdrive/hardware/hw.h

@ -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…
Cancel
Save