BHY2_SensorAPI icon indicating copy to clipboard operation
BHY2_SensorAPI copied to clipboard

Incorrect NULL check in set_regs

Open ljden opened this issue 1 year ago • 0 comments

I think (hif->read != NULL) should be (hif->write != NULL) as write is used not read https://github.com/boschsensortec/BHY2-Sensor-API/blob/f1032049ecc9187dc84a537541c0abc995f6a89b/bhy2_hif.c#L450-L457

ljden avatar Mar 22 '23 07:03 ljden