In function get_calib_param (BMP280_driver/bmp280.c), the variable calib_param.t_fine is not initialized, which can result in strange behaviour when using the library as in example/pressure.c. This can be fixed by adding
dev->calib_param.t_fine = 1;
in line 722 of bmp280.c.
Thanks for your feedback. We will check with our API team to see if this is really an issue. If yes, then we will fix it in the new release of BMP280 API on the Github.
We have confirmed that this is a bug in BMP280 API source code on the Github. We will fix it and then release the new version of BMP280 API source code on the Github.
Thank you again for your feedback.