diff options
author | Leo C | 2017-04-21 15:45:05 +0200 |
---|---|---|
committer | Leo C | 2017-04-21 15:45:05 +0200 |
commit | 13c24737d1698d551d20baa74681021dc2c0c359 (patch) | |
tree | c1b16574bd27f185a357c64cc22aac40648cbf1a | |
parent | 85fbd0c57a5f553cb22cfdec2daaf8c70afdbe96 (diff) | |
download | irmp-13c24737d1698d551d20baa74681021dc2c0c359.zip |
Rename TIM_IRMP --> IRMP_TIMER
-rw-r--r-- | irmp.h | 2 | ||||
-rw-r--r-- | irmpconfig.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -73,7 +73,7 @@ # define IRMP_PIN IRMP_PORT // for use with input(x) below
# define input(x) ((GPIO_IDR(IRMP_PORT) & (1<<IRMP_BIT)) != 0)
//# define input(x) (BBIO_PERIPH(IRMP_PORT+IDR, IRMP_BIT))
-# define TIM_IRMP CONCAT(TIM, IRMP_TIMER)
+# define IRMP_TIMER CONCAT(TIM, IRMP_TIMER_NUMBER)
#elif defined (STELLARIS_ARM_CORTEX_M4)
# define _CONCAT(a,b) a##b
diff --git a/irmpconfig.h b/irmpconfig.h index 6cc70f8..67c3638 100644 --- a/irmpconfig.h +++ b/irmpconfig.h @@ -143,7 +143,7 @@ #elif defined (ARM_OPENCM3) // use C13 as IR input on STM32
# define IRMP_PORT_LETTER B
# define IRMP_BIT_NUMBER 4
-# define IRMP_TIMER 3 // Timer to use
+# define IRMP_TIMER_NUMBER 3 // Timer to use
/*---------------------------------------------------------------------------------------------------------------------------------------------------
* Change hardware pin here for Stellaris ARM Cortex M4
|