summaryrefslogtreecommitdiff
path: root/irmpconfig.h
diff options
context:
space:
mode:
authorukw2012-02-16 10:43:15 +0000
committerukw2012-02-16 10:43:15 +0000
commit6c3c57e6ed1d614a5ffec4747e271eb9e7aa8a68 (patch)
tree432a7d0236ba648cb43e5eda01da0890c80bccfd /irmpconfig.h
parent6ab7d63ce8432cc5a6fb9fe36d86fb1f01ffeccc (diff)
downloadirmp-6c3c57e6ed1d614a5ffec4747e271eb9e7aa8a68.zip
Version 2.1.0: port to PIC C18 compiler, added external logging
git-svn-id: svn://mikrocontroller.net/irmp@87 aeb2e35e-bfc4-4214-b83c-9e8de998ed28
Diffstat (limited to 'irmpconfig.h')
-rw-r--r--irmpconfig.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/irmpconfig.h b/irmpconfig.h
index ca813ca..2349fa0 100644
--- a/irmpconfig.h
+++ b/irmpconfig.h
@@ -3,7 +3,7 @@
*
* Copyright (c) 2009-2011 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmpconfig.h,v 1.77 2011/09/22 10:36:22 fm Exp $
+ * $Id: irmpconfig.h,v 1.78 2012/02/16 10:40:08 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
@@ -24,7 +24,7 @@
*---------------------------------------------------------------------------------------------------------------------------------------------------
*/
#ifndef F_INTERRUPTS
-#define F_INTERRUPTS 15000 // interrupts per second, min: 10000, max: 20000, typ: 15000
+#define F_INTERRUPTS 11718 // interrupts per second, min: 10000, max: 20000, typ: 15000
#endif
/*---------------------------------------------------------------------------------------------------------------------------------------------------
@@ -104,6 +104,15 @@
#endif
/*---------------------------------------------------------------------------------------------------------------------------------------------------
+ * Use external logging routines
+ * If you enable external logging, you have also to enable IRMP_LOGGING above
+ *---------------------------------------------------------------------------------------------------------------------------------------------------
+ */
+#ifndef IRMP_EXT_LOGGING
+#define IRMP_EXT_LOGGING 0 // 1:log, 0: do not log ;
+#endif
+
+/*---------------------------------------------------------------------------------------------------------------------------------------------------
* Set IRMP_PROTOCOL_NAMES to 1 if want to access protocol names (for logging etc), costs ~300 bytes RAM!
*---------------------------------------------------------------------------------------------------------------------------------------------------
*/