Sensor: mpr: Fix indentation in comment
Fix indentation in ascii-style formula for register to value conversion. Signed-off-by: Sven Herrmann <sven.herrmann@posteo.de>
This commit is contained in:
parent
7e8759b9fa
commit
001ff9ffab
1 changed files with 2 additions and 2 deletions
|
@ -82,9 +82,9 @@ static int mpr_read_reg(struct device *dev)
|
|||
return 0;
|
||||
}
|
||||
|
||||
/* (reg_value - out_min) * (p_max - p_min)
|
||||
/* (reg_value - out_min) * (p_max - p_min)
|
||||
* pressure = --------------------------------------- + p_min
|
||||
* out_max - out_min
|
||||
* out_max - out_min
|
||||
*
|
||||
* returns pressure [kPa] * 10^6
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue