Skip to content

Commit

Permalink
Removed duplicated condition in sht25 configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
alignan committed Mar 11, 2015
1 parent c169b3e commit 64fd000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/z1/dev/sht25.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 64fd000

Please sign in to comment.