Merge pull request #990 from alignan/sht25
Removed duplicated condition in sht25 configuration
This commit is contained in:
commit
c76316adf2
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ static uint8_t enabled;
|
|||
static int
|
||||
configure(int type, int value)
|
||||
{
|
||||
if((type != SENSORS_ACTIVE) && (type != SENSORS_ACTIVE)) {
|
||||
if(type != SENSORS_ACTIVE) {
|
||||
return SHT25_ERROR;
|
||||
}
|
||||
if(value) {
|
||||
|
|
Loading…
Reference in a new issue