Skip to main content
Visitor II
November 24, 2016
Question

One more bug in HTS221_driver.c by HESA Application Team

  • November 24, 2016
  • 0 replies
  • 416 views
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;

    This topic has been closed for replies.