Skip to content

Commit

Permalink
Merge pull request #18 from libdriver/dev
Browse files Browse the repository at this point in the history
fix: fix iic bugs
  • Loading branch information
libdriver authored Sep 27, 2024
2 parents 4eac415 + b5dc6a4 commit 9043947
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 1.0.2 (2024-09-27)

## Bug Fixes

- fix iic bugs

## 1.0.1 (2024-08-05)

## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion project/stm32f407/interface/src/iic.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ uint8_t iic_init(void)

/* iic gpio init */
GPIO_Initure.Pin = GPIO_PIN_8 | GPIO_PIN_9;
GPIO_Initure.Mode = GPIO_MODE_OUTPUT_PP;
GPIO_Initure.Mode = GPIO_MODE_OUTPUT_OD;
GPIO_Initure.Pull = GPIO_PULLUP;
GPIO_Initure.Speed = GPIO_SPEED_FREQ_HIGH;
HAL_GPIO_Init(GPIOB, &GPIO_Initure);
Expand Down

0 comments on commit 9043947

Please sign in to comment.