6e2ccc8b15
version: sunnypilot v2026.002.000 (staging) date: 2026-05-27T04:05:25 master commit: dfc3c98b226da57a653daf57131a8a3d66166fcb
15 lines
431 B
C++
15 lines
431 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "system/hardware/base.h"
|
|
|
|
class HardwarePC : public HardwareNone {
|
|
public:
|
|
static std::string get_name() { return "pc"; }
|
|
static cereal::InitData::DeviceType get_device_type() { return cereal::InitData::DeviceType::PC; }
|
|
static bool PC() { return true; }
|
|
static bool TICI() { return util::getenv("TICI", 0) == 1; }
|
|
static bool AGNOS() { return util::getenv("TICI", 0) == 1; }
|
|
};
|