Uncrustify changes
This commit is contained in:
parent
d53a62187d
commit
48eb2a4fe2
2 changed files with 39 additions and 39 deletions
|
@ -170,7 +170,7 @@ value(int type)
|
||||||
|
|
||||||
if(type == SHT25_VOLTAGE_ALARM) {
|
if(type == SHT25_VOLTAGE_ALARM) {
|
||||||
if(sht25_read_user_register() == SHT25_SUCCESS) {
|
if(sht25_read_user_register() == SHT25_SUCCESS) {
|
||||||
return ((user_reg & SHT2x_LOW_VOLTAGE_MASK) >> SHT2x_LOW_VOLTAGE_SHIFT);
|
return (user_reg & SHT2x_LOW_VOLTAGE_MASK) >> SHT2x_LOW_VOLTAGE_SHIFT;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if(sht25_read(type, &val) == SHT25_SUCCESS) {
|
if(sht25_read(type, &val) == SHT25_SUCCESS) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue