X-Git-Url: http://cloudbase.mooo.com/gitweb/irmp.git/blobdiff_plain/eaaf80c3a29b0c4bcc2040b8202152e8c0b675f0..48664931c4d9371a7be6735227011e54954f79cc:/irmpconfig.h diff --git a/irmpconfig.h b/irmpconfig.h index 7fadb90..b522ff3 100644 --- a/irmpconfig.h +++ b/irmpconfig.h @@ -3,7 +3,7 @@ * * Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de * - * $Id: irmpconfig.h,v 1.13 2010/06/10 21:24:50 fm Exp $ + * $Id: irmpconfig.h,v 1.21 2010/06/14 22:01:49 fm Exp $ * * ATMEGA88 @ 8 MHz * @@ -46,6 +46,8 @@ #define IRMP_SUPPORT_BANG_OLUFSEN_PROTOCOL 1 // flag: support Bang & Olufsen uses ~200 bytes #define IRMP_SUPPORT_GRUNDIG_PROTOCOL 1 // flag: support Grundig uses ~150 bytes #define IRMP_SUPPORT_NOKIA_PROTOCOL 1 // flag: support Nokia uses ~150 bytes +#define IRMP_SUPPORT_FDC_PROTOCOL 0 // flag: support FDC3402 keyboard uses ~100 bytes +#define IRMP_SUPPORT_RCCAR_PROTOCOL 0 // flag: support RC car uses ~150 bytes /*--------------------------------------------------------------------------------------------------------------------------------------------------- * THE FOLLOWING DECODERS WORK ONLY FOR F_INTERRUPTS > 14500! @@ -53,12 +55,16 @@ */ #if F_INTERRUPTS >= 14500 #define IRMP_SUPPORT_SIEMENS_PROTOCOL 1 // flag: support Siemens Gigaset uses ~150 bytes -#define IRMP_SUPPORT_FDC1_PROTOCOL 1 // flag: support FDC1 keyboard uses ~150 bytes -#define IRMP_SUPPORT_FDC2_PROTOCOL 1 // flag: support FDC2 keyboard uses ~150 bytes #else #define IRMP_SUPPORT_SIEMENS_PROTOCOL 0 // DO NOT CHANGE! F_INTERRUPTS too low! -#define IRMP_SUPPORT_FDC1_PROTOCOL 0 // DO NOT CHANGE! F_INTERRUPTS too low! -#define IRMP_SUPPORT_FDC2_PROTOCOL 0 // DO NOT CHANGE! F_INTERRUPTS too low! +#endif + +#if IRMP_SUPPORT_FDC_PROTOCOL == 1 && IRMP_SUPPORT_RC5_PROTOCOL == 1 +#error Protocols RC5 and FDC may not be enabled both at the same time. Please disable one of them in irmpconfig.h. +#endif + +#if IRMP_SUPPORT_RCCAR_PROTOCOL == 1 && IRMP_SUPPORT_RC5_PROTOCOL == 1 +#error Protocols RC5 and RCCAR may not be enabled both at the same time. Please disable one of them in irmpconfig.h. #endif /*---------------------------------------------------------------------------------------------------------------------------------------------------