]> cloudbase.mooo.com Git - irmp.git/blobdiff - irmp.h
Version 2.6.4: changed timing tolerance of KASEIKYO
[irmp.git] / irmp.h
diff --git a/irmp.h b/irmp.h
index 84138013c98fb61c8f7a73be4c7a5df6ffb409ff..cda737c0d058f0bda03d317c51ed50428fe33893 100644 (file)
--- a/irmp.h
+++ b/irmp.h
@@ -1,11 +1,9 @@
 /*---------------------------------------------------------------------------------------------------------------------------------------------------\r
  * irmp.h\r
  *\r
- * Copyright (c) 2009-2012 Frank Meyer - frank(at)fli4l.de\r
+ * Copyright (c) 2009-2014 Frank Meyer - frank(at)fli4l.de\r
  *\r
- * $Id: irmp.h,v 1.80 2012/11/18 17:51:26 fm Exp $\r
- *\r
- * ATMEGA88 @ 8 MHz\r
+ * $Id: irmp.h,v 1.89 2014/09/15 10:27:38 fm Exp $\r
  *\r
  * This program is free software; you can redistribute it and/or modify\r
  * it under the terms of the GNU General Public License as published by\r
 #  define IRMP_SUPPORT_RUWIDO_PROTOCOL          0\r
 #endif\r
 \r
+#if IRMP_SUPPORT_RC6_PROTOCOL == 1 && IRMP_SUPPORT_ROOMBA_PROTOCOL == 1\r
+#  warning RC6 protocol conflicts wih ROOMBA, please enable only one of both protocols\r
+#  warning ROOMBA protocol disabled\r
+#  undef IRMP_SUPPORT_ROOMBA_PROTOCOL\r
+#  define IRMP_SUPPORT_ROOMBA_PROTOCOL          0\r
+#endif\r
+\r
+#if IRMP_SUPPORT_RC5_PROTOCOL == 1 && IRMP_SUPPORT_ORTEK_PROTOCOL == 1\r
+#  warning RC5 protocol conflicts wih ORTEK, please enable only one of both protocols\r
+#  warning ORTEK protocol disabled\r
+#  undef IRMP_SUPPORT_ORTEK_PROTOCOL\r
+#  define IRMP_SUPPORT_ORTEK_PROTOCOL           0\r
+#endif\r
+\r
+#if IRMP_SUPPORT_FDC_PROTOCOL == 1 && IRMP_SUPPORT_ORTEK_PROTOCOL == 1\r
+#  warning FDC protocol conflicts wih ORTEK, please enable only one of both protocols\r
+#  warning ORTEK protocol disabled\r
+#  undef IRMP_SUPPORT_ORTEK_PROTOCOL\r
+#  define IRMP_SUPPORT_ORTEK_PROTOCOL           0\r
+#endif\r
+\r
+#if IRMP_SUPPORT_ORTEK_PROTOCOL == 1 && IRMP_SUPPORT_NETBOX_PROTOCOL == 1\r
+#  warning ORTEK protocol conflicts wih NETBOX, please enable only one of both protocols\r
+#  warning NETBOX protocol disabled\r
+#  undef IRMP_SUPPORT_NETBOX_PROTOCOL\r
+#  define IRMP_SUPPORT_NETBOX_PROTOCOL          0\r
+#endif\r
+\r
 #if IRMP_SUPPORT_SIEMENS_PROTOCOL == 1 && F_INTERRUPTS < 15000\r
 #  warning F_INTERRUPTS too low, SIEMENS protocol disabled (should be at least 15000)\r
 #  undef IRMP_SUPPORT_SIEMENS_PROTOCOL\r
 #  define IRMP_SUPPORT_LEGO_PROTOCOL            0\r
 #endif\r
 \r
+#if IRMP_SUPPORT_SAMSUNG48_PROTOCOL == 1 && IRMP_SUPPORT_SAMSUNG_PROTOCOL == 0\r
+#  warning SAMSUNG48 protocol needs also SAMSUNG protocol, SAMSUNG protocol enabled\r
+#  undef IRMP_SUPPORT_SAMSUNG_PROTOCOL\r
+#  define IRMP_SUPPORT_SAMSUNG_PROTOCOL         1\r
+#endif\r
+\r
 #if IRMP_SUPPORT_JVC_PROTOCOL == 1 && IRMP_SUPPORT_NEC_PROTOCOL == 0\r
 #  warning JVC protocol needs also NEC protocol, NEC protocol enabled\r
 #  undef IRMP_SUPPORT_NEC_PROTOCOL\r
 #  define IRMP_SUPPORT_NEC_PROTOCOL             1\r
 #endif\r
 \r
+#if IRMP_SUPPORT_LGAIR_PROTOCOL == 1 && IRMP_SUPPORT_NEC_PROTOCOL == 0\r
+#  warning LGAIR protocol needs also NEC protocol, NEC protocol enabled\r
+#  undef IRMP_SUPPORT_NEC_PROTOCOL\r
+#  define IRMP_SUPPORT_NEC_PROTOCOL             1\r
+#endif\r
+\r
+#if IRMP_SUPPORT_RCMM_PROTOCOL == 1 && F_INTERRUPTS < 20000\r
+#  warning F_INTERRUPTS too low, RCMM protocol disabled (should be at least 20000)\r
+#  undef IRMP_SUPPORT_RCMM_PROTOCOL\r
+#  define IRMP_SUPPORT_RCMM_PROTOCOL            0\r
+#endif\r
+\r
 #if F_INTERRUPTS > 20000\r
 #error F_INTERRUPTS too high (should be not greater than 20000)\r
 #endif\r
@@ -132,7 +176,7 @@ extern uint8_t                          irmp_is_busy (void);
 extern uint8_t                          irmp_ISR (void);\r
 \r
 #if IRMP_PROTOCOL_NAMES == 1\r
-extern char *                           irmp_protocol_names[IRMP_N_PROTOCOLS + 1];\r
+extern const char * const               irmp_protocol_names[IRMP_N_PROTOCOLS + 1] PROGMEM;\r
 #endif\r
 \r
 #if IRMP_USE_CALLBACK == 1\r