Skip to content

Commit 1d691e5

Browse files
authored
Merge pull request #13 from libdriver/dev
fix: fix iic errors
2 parents 167c86e + 36625cd commit 1d691e5

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.0.2 (2024-10-02)
2+
3+
## Bug Fixes
4+
5+
- fix iic errors
6+
17
## 2.0.1 (2024-08-05)
28

39
## Bug Fixes

project/stm32f407/interface/src/iic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ uint8_t iic_init(void)
7272

7373
/* iic gpio init */
7474
GPIO_Initure.Pin = GPIO_PIN_8 | GPIO_PIN_9;
75-
GPIO_Initure.Mode = GPIO_MODE_OUTPUT_PP;
75+
GPIO_Initure.Mode = GPIO_MODE_OUTPUT_OD;
7676
GPIO_Initure.Pull = GPIO_PULLUP;
7777
GPIO_Initure.Speed = GPIO_SPEED_FREQ_HIGH;
7878
HAL_GPIO_Init(GPIOB, &GPIO_Initure);

0 commit comments

Comments
 (0)