diff --git a/drivers/hdc1000/hdc1000.c b/drivers/hdc1000/hdc1000.c index cc8bef2a6c8b52710ab061b9f4e4ea73f929ed8c..0ca07446af974b7414cf52e6788d6c06fffde169 100644 --- a/drivers/hdc1000/hdc1000.c +++ b/drivers/hdc1000/hdc1000.c @@ -148,7 +148,7 @@ int hdc1000_startmeasure(hdc1000_t *dev) * to the address 0x00 (HDC1000_TEMPERATURE). * Conversion Time is 6.50ms by 14 bit resolution. */ - if (i2c_write_bytes(dev->i2c, dev->addr, HDC1000_TEMPERATURE, 1) != 1) { + if (i2c_write_byte(dev->i2c, dev->addr, HDC1000_TEMPERATURE) != 1) { i2c_release(dev->i2c); return -1; }