-#warning JVC protocol needs also NEC protocol, NEC protocol enabled\r
-#undef IRMP_SUPPORT_NEC_PROTOCOL\r
-#define IRMP_SUPPORT_NEC_PROTOCOL 1\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_NEC16_PROTOCOL == 1 && IRMP_SUPPORT_NEC_PROTOCOL == 0\r
+# warning NEC16 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_NEC42_PROTOCOL == 1 && IRMP_SUPPORT_NEC_PROTOCOL == 0\r
+# warning NEC42 protocol needs also NEC protocol, NEC protocol enabled\r
+# undef IRMP_SUPPORT_NEC_PROTOCOL\r
+# define IRMP_SUPPORT_NEC_PROTOCOL 1\r