From d24edc605b9b52d3610efbb9cf691c437ea00746 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 3 Jan 2019 20:46:54 -0500 Subject: Add HAVE_LINEOUT_DETECTION and associated logic This allows targets to automatically switch audio settings when the line out is plugged/unplugged. Only hooked up on the xDuoo X3, but there are other potential users. Change-Id: Ic46a329bc955cca2e2ad0335ca16295eab24ad59 --- firmware/export/config/xduoox3.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/config/xduoox3.h') diff --git a/firmware/export/config/xduoox3.h b/firmware/export/config/xduoox3.h index d4d6f2ee2f..b2c8930531 100644 --- a/firmware/export/config/xduoox3.h +++ b/firmware/export/config/xduoox3.h @@ -73,6 +73,9 @@ /* Define this if you can detect headphones */ #define HAVE_HEADPHONE_DETECTION +/* Define this if you can detect lineout */ +#define HAVE_LINEOUT_DETECTION + #define CONFIG_KEYPAD XDUOO_X3_PAD /* Define this if a programmable hotkey is mapped */ -- cgit v1.2.3