summaryrefslogtreecommitdiff
path: root/irmpsystem.h
diff options
context:
space:
mode:
authorLeo C2017-04-30 12:42:38 +0200
committerLeo C2017-04-30 12:42:38 +0200
commita8915151dc5ddd5342d4b8db48a563abf4369891 (patch)
tree3f3d9f6937c124bfa02c3bf47886df1b30ed526a /irmpsystem.h
parent13c24737d1698d551d20baa74681021dc2c0c359 (diff)
downloadirmp-a8915151dc5ddd5342d4b8db48a563abf4369891.zip
Rename ARM_OPENCM3 -> LIBOPENCM3, redefine IRMP_BIT as bitmask
Diffstat (limited to 'irmpsystem.h')
-rw-r--r--irmpsystem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/irmpsystem.h b/irmpsystem.h
index 7300a76..cdb5ffc 100644
--- a/irmpsystem.h
+++ b/irmpsystem.h
@@ -27,7 +27,7 @@
#elif defined(__PCM__) || defined(__PCB__) || defined(__PCH__) // CCS PIC compiler
# define PIC_CCS
#elif defined(STM32F1) // ARM STM32 with libopencm3
-# define ARM_OPENCM3
+# define LIBOPENCM3
#elif defined(STM32L1XX_MD) || defined(STM32L1XX_MDP) || defined(STM32L1XX_HD) // ARM STM32
# include <stm32l1xx.h>
# define ARM_STM32
@@ -135,7 +135,7 @@ typedef unsigned short uint16_t;
# define PROGMEM
# define memcpy_P memcpy
-#elif defined(ARM_OPENCM3)
+#elif defined(LIBOPENCM3)
# include <libopencm3/cm3/nvic.h>
# include <libopencm3/stm32/rcc.h>