-
- Downloads
drivers/bmx055: eliminate some casts
First, every read function converts the void pointer into a const bmx055_t Second, it is cleaner (more obvious) to pass phydat_t.val[3] instead of type casting to int16_t* and relying that .val[3] is the first struct member of phydat_t.
Please register or sign in to comment