BHI160 cleanup
- Oct 23, 2020
-
-
rahix authored
They won't get modified, so make them const. Also reformat a bit so they look prettier. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
These two static variables aren't (and shouldn't!) be used anywhere outside of bhi160_fetch_fifo() so let's move them into the function. Signed-off-by:
Rahix <rahix@rahix.de>
-
rahix authored
bhi160_fetch_fifo() doesn't actually return any meaningful error values anymore. Remove return-value checks and make the function return void to express this clearly. Signed-off-by:
Rahix <rahix@rahix.de>
-