Skip to content

Commit 424ee33

Browse files
authored
Merge pull request #13 from libdriver/dev
fix: change spi speed
2 parents 7c6c9f4 + 24146aa commit 424ee33

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 1.0.7 (2025-04-17)
2+
3+
## Bug Fixes
4+
5+
- change spi speed
6+
17
## 1.0.6 (2025-04-16)
28

39
## Bug Fixes

project/raspberrypi4b/driver/src/raspberrypi4b_driver_bmp280_interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ uint8_t bmp280_interface_iic_write(uint8_t addr, uint8_t reg, uint8_t *buf, uint
124124
*/
125125
uint8_t bmp280_interface_spi_init(void)
126126
{
127-
return spi_init(SPI_DEVICE_NAME, &gs_spi_fd, SPI_MODE_TYPE_3, 1000 * 1000 * 2);
127+
return spi_init(SPI_DEVICE_NAME, &gs_spi_fd, SPI_MODE_TYPE_3, 1000 * 1000);
128128
}
129129

130130
/**

0 commit comments

Comments
 (0)