/* Reads a signed 16 bit value over I2C.  */
err_t bmp085ReadS16(uint16_t reg, int16_t *value)
/* Reads a signed 16 bit value over I2C.  */
err_t bmp085ReadS16(uint16_t reg, int16_t *value)
{
  uint16_t i;
  ASSERT_STATUS(bmp085Read16(reg, &i));
  *value = (int16_t)i;
  return ERROR_NONE;
}