mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 13:33:59 +08:00
* misc system/hardware/ cleanup * lil more * pc is kinda base * lil more * lil more * lil more * int * lil more?
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; }
|
|
};
|