BHI2xy_SensorAPI
BHI2xy_SensorAPI copied to clipboard
Incorrect NULL check in set_regs
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