LIS2MDL code ***help request***

Why not check?