klte-common: Transition to consumerir HIDL hal
Change-Id: Ife68fd0ccd65eb16241694bbf911fc6810f7dd80
This commit is contained in:
parent
3ae430dc6e
commit
a924001761
1 changed files with 6 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2016 The CyanogenMod Project
|
* Copyright (C) 2016 The CyanogenMod Project
|
||||||
|
* Copyright (C) 2020 The LineageOS Project
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -17,6 +18,10 @@
|
||||||
#ifndef SAMSUNG_CONSUMERIR_H
|
#ifndef SAMSUNG_CONSUMERIR_H
|
||||||
#define SAMSUNG_CONSUMERIR_H
|
#define SAMSUNG_CONSUMERIR_H
|
||||||
|
|
||||||
|
#include <android/hardware/ir/1.0/IConsumerIr.h>
|
||||||
|
|
||||||
|
using android::hardware::ir::V1_0::ConsumerIrFreqRange;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Board specific nodes
|
* Board specific nodes
|
||||||
*
|
*
|
||||||
|
@ -35,7 +40,7 @@
|
||||||
// Some devices need MS_IR_SIGNAL to avoid ms to pulses conversionn
|
// Some devices need MS_IR_SIGNAL to avoid ms to pulses conversionn
|
||||||
#define MS_IR_SIGNAL
|
#define MS_IR_SIGNAL
|
||||||
|
|
||||||
static const consumerir_freq_range_t consumerir_freqs[] = {
|
static const std::vector<ConsumerIrFreqRange> consumerirFreqs = {
|
||||||
{.min = 30000, .max = 30000},
|
{.min = 30000, .max = 30000},
|
||||||
{.min = 33000, .max = 33000},
|
{.min = 33000, .max = 33000},
|
||||||
{.min = 36000, .max = 36000},
|
{.min = 36000, .max = 36000},
|
Loading…
Reference in a new issue