diff --git a/platform/z1/dev/sht25.c b/platform/z1/dev/sht25.c index 86dfb1d82..e17d7477b 100644 --- a/platform/z1/dev/sht25.c +++ b/platform/z1/dev/sht25.c @@ -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) {