aboutsummaryrefslogtreecommitdiff
path: root/stm32f091/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'stm32f091/main.h')
-rw-r--r--stm32f091/main.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/stm32f091/main.h b/stm32f091/main.h
index 7c13733..b8a1db5 100644
--- a/stm32f091/main.h
+++ b/stm32f091/main.h
@@ -3,9 +3,7 @@
#include <stm32f0xx_hal_i2c.h>
#include <stm32f0xx_hal_uart.h>
-#define hi2c1 hi2c2
-
-extern I2C_HandleTypeDef hi2c2;
+extern I2C_HandleTypeDef hi2c1;
extern UART_HandleTypeDef huart2;
void task_1();