mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-20 07:33:43 +08:00
22 lines
514 B
C++
22 lines
514 B
C++
#pragma once
|
|
|
|
#include "selfdrive/hardware/base.h"
|
|
|
|
#ifdef QCOM
|
|
#include "selfdrive/hardware/eon/hardware.h"
|
|
#define Hardware HardwareEon
|
|
#elif QCOM2
|
|
#include "selfdrive/hardware/tici/hardware.h"
|
|
#define Hardware HardwareTici
|
|
#elif XNX
|
|
#include "selfdrive/hardware/jetson/hardware.h"
|
|
#define Hardware HardwareJetson
|
|
#else
|
|
class HardwarePC : public HardwareNone {
|
|
public:
|
|
static std::string get_os_version() { return "openpilot for PC"; }
|
|
static bool PC() { return true; }
|
|
};
|
|
#define Hardware HardwarePC
|
|
#endif
|