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