2016-11-23 11:04 PM
There is HTS221_Set_InitConfigfunction in HTS221 driver:
HTS221_Error_et HTS221_Set_InitConfig(HTS221_Init_st* pxInit)
In this function there is string:
buffer[1] &= ~HTS221_HEATHER_BIT;
It should reset heater bit, but reset one_shot bit instead.
This string must be:
buffer[1] &= ~HTS221_HEATHER_MASK;