Skip to content
Snippets Groups Projects
Commit d8edf6dd authored by Kees Bakker's avatar Kees Bakker
Browse files

drivers/lsm6dsl: eliminate and correct casts

Converting phydat_t* to lsm6dsl_3d_data_t* is not correct, but it happened
to just work because the first struct member of phydat_t will be used.

Furthermore, casting &res[0] to int16_t* is wrong. Again, it just happened
to work.
parent b77c802f
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment