summaryrefslogtreecommitdiff
path: root/src/driver/bme680_util.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/driver/bme680_util.cc')
-rw-r--r--src/driver/bme680_util.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/driver/bme680_util.cc b/src/driver/bme680_util.cc
index 653403e..ebe48f7 100644
--- a/src/driver/bme680_util.cc
+++ b/src/driver/bme680_util.cc
@@ -11,6 +11,11 @@ void bme680_delay_ms(uint32_t const period)
arch.delay_ms(period);
}
+void bme680_sleep_ms(uint32_t const period)
+{
+ arch.sleep_ms(period);
+}
+
int8_t bme680_i2c_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *reg_data, uint16_t len)
{
int8_t ret = i2c.xmit(dev_id, 1, &reg_addr, 0, 0);