Hello, I'm working with a BMI270 and its GitHub library. I noticed a important change with the release v.2.46.1. (File bmi2_defs.h) The old typedef function pointer for the bus interfacing was: typedef int8_t (*bmi2_read_fptr_t)(uint8_t dev_addr, uint8_t reg_addr, uint8_t *data, uint16_t len); this instruction has been modified to: typedef BMI2_INTF_RETURN_TYPE (*bmi2_read_fptr_t)(uint8_t reg_addr, uint8_t *reg_data, uint32_t len, void *intf_ptr); I don't fully understand the interest of such a change... Because now the device address must be passed through the pointer *intf_ptr ... I find it much less clear. There's probably a good reason for this change but I don't understand it. If someone can help me... Thanks
... View more