This is an automated email from the ASF dual-hosted git repository. jerzy pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
The following commit(s) were added to refs/heads/master by this push: new b267e9d sensor_creator: Fix typo in LIS2DW12 spi configuration b267e9d is described below commit b267e9d8457c4aa0ee9031f52309591495ec75ec Author: Jerzy Kasenberg <je...@apache.org> AuthorDate: Fri May 28 21:59:46 2021 +0200 sensor_creator: Fix typo in LIS2DW12 spi configuration This fixes obvious copy/paster error in chip select pin syscfg name. --- hw/sensor/creator/src/sensor_creator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sensor/creator/src/sensor_creator.c b/hw/sensor/creator/src/sensor_creator.c index 8394df1..b545008 100644 --- a/hw/sensor/creator/src/sensor_creator.c +++ b/hw/sensor/creator/src/sensor_creator.c @@ -632,7 +632,7 @@ static struct sensor_itf lis2dw12_itf = { #elif MYNEWT_VAL(LIS2DW12_OFB_SPI_NUM) >= 0 .si_type = SENSOR_ITF_SPI, .si_num = MYNEWT_VAL(LIS2DW12_OFB_SPI_NUM), - .si_cs_pin = MYNEWT_VAL(BME280_OFB_CS), + .si_cs_pin = MYNEWT_VAL(LIS2DW12_OFB_CS), #endif .si_ints = { { MYNEWT_VAL(LIS2DW12_OFB_INT1_PIN_HOST), MYNEWT_VAL(LIS2DW12_OFB_INT1_PIN_DEVICE),