Updated BMA180 branch

Applied recent changes on hydro-devel branch.