I merged two sensors, BME and BMI, and checked the raw data output through NRF_LOG_INFO. Now, I've added the new merged code to the main firmware, but the log for the BMI sensor shows 0 in the output, while the BMM sensor displays correctly.
One point to note is that the BMI sensor triggers an interrupt when data is ready, and then it prints after reading. So when 0 is printed in the output, it means new data has arrived, but it prints 0. Could this be due to the logging? The settings related to enabling NRF_LOG_INFO in the sdk.config file are similar for both file