From b3a149a838cfeca4735c411c13e046c0f0e21e18 Mon Sep 17 00:00:00 2001 From: Patrick Harbers Date: Sun, 28 Nov 2021 12:13:00 +0100 Subject: [PATCH] ConsumerIr: Don't convert MS to pulses The kernel does it for us Change-Id: I53e6acf0db671c61543598b2b527422844c30c44 --- include/samsung_ir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/samsung_ir.h b/include/samsung_ir.h index 74adf42..31f830e 100644 --- a/include/samsung_ir.h +++ b/include/samsung_ir.h @@ -38,7 +38,7 @@ using android::hardware::ir::V1_0::ConsumerIrFreqRange; * can override this header in your device tree */ // Some devices need MS_IR_SIGNAL to avoid ms to pulses conversionn -//#define MS_IR_SIGNAL +#define MS_IR_SIGNAL static const std::vector consumerirFreqs = { {.min = 30000, .max = 30000},