AnsweredAssumed Answered

One more bug in HTS221_driver.c by HESA Application Team

Question asked by Lopatin.Andrey on Nov 24, 2016
There is HTS221_Set_InitConfig function 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;

Outcomes