Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hw/drivers/bme280: Fix writes to I2C
I2C writes when driver was enabled clear MSB of register address. This prevented any write to control registers. Now registers MSB is cleared on write only for SPI. Writing registers also requires single start condition. Code was doing write with restart condtion that does not seem to work correctly Signed-off-by: Jerzy Kasenberg <jerzy.kasenberg@codecoup.pl>
- Loading branch information