hw: remove unused volume properties

pull/35904/head
Adeeb Shihadeh 5 days ago
parent ba2dced54c
commit aa2a3b3c8f
  1. 3
      system/hardware/base.h
  2. 2
      system/hardware/tici/hardware.h

@ -10,9 +10,6 @@
// no-op base hw class
class HardwareNone {
public:
static constexpr float MAX_VOLUME = 0.7;
static constexpr float MIN_VOLUME = 0.2;
static std::string get_os_version() { return ""; }
static std::string get_name() { return ""; }
static cereal::InitData::DeviceType get_device_type() { return cereal::InitData::DeviceType::UNKNOWN; }

@ -13,8 +13,6 @@
class HardwareTici : public HardwareNone {
public:
static constexpr float MAX_VOLUME = 0.9;
static constexpr float MIN_VOLUME = 0.1;
static bool TICI() { return true; }
static bool AGNOS() { return true; }
static std::string get_os_version() {

Loading…
Cancel
Save