Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'include/libopencm3/stm32/common/i2c_common_v2.h')
-rw-r--r--include/libopencm3/stm32/common/i2c_common_v2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libopencm3/stm32/common/i2c_common_v2.h b/include/libopencm3/stm32/common/i2c_common_v2.h
index cd311064..ad4846b9 100644
--- a/include/libopencm3/stm32/common/i2c_common_v2.h
+++ b/include/libopencm3/stm32/common/i2c_common_v2.h
@@ -46,6 +46,9 @@ specific memorymap.h header before including this header file.*/
#ifdef I2C3_BASE
#define I2C3 I2C3_BASE
#endif
+#ifdef I2C4_BASE
+#define I2C4 I2C4_BASE
+#endif
/**@}*/
/* --- I2C registers ------------------------------------------------------- */