From 8f659ae8d3845b40ff93ebfa3692f7b2302e6c7e Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 20 May 2007 20:26:36 +0000 Subject: Use bitmasks to define which inputs are available. Makes it easier to remove old assumptions of which are available. Inspired by e200 being unique in having FM Radio and Mic but no Line. Doesn't remove the assumption that Mic is available or that one of Mic and/or Line is available just to avoid excessive #ifdef'ing until needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13448 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'firmware/export/config.h') diff --git a/firmware/export/config.h b/firmware/export/config.h index ceb63cd098..0ad4fabbe1 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -204,6 +204,9 @@ /* no known platform */ #endif +/* setup basic macros from capability masks */ +#include "config_caps.h" + /* now set any CONFIG_ defines correctly if they are not used, No need to do this on CONFIG_'s which are compulsary (e.g CONFIG_CODEC ) */ #ifndef CONFIG_TUNER -- cgit v1.2.3