mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-17 06:22:06 +08:00
160942dfde
* move HAL to common/hardware/ * lint * rm shim
13 lines
306 B
C++
13 lines
306 B
C++
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "common/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; }
|
|
};
|