cancel
Showing results for 
Search instead for 
Did you mean: 

One more bug in HTS221_driver.c by HESA Application Team

ae_lopatin
Associate
Posted on November 24, 2016 at 08:04

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;

0 REPLIES 0