version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
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; }
|
|
};
|