drivers: sensor: ccs811: cleanup of raw reading processing
Use CMSIS-standard bit mask and offset macros. Rename the field to more
closely match the data sheet. Use slightly less magic numbers for the
scale multipliers.
Signed-off-by:
Peter A. Bigot <pab@pabigot.com>
Loading
Please sign in to comment