From 64fd000e5da18054cc71ce7a95b4e2bd7ed36ead Mon Sep 17 00:00:00 2001 From: Antonio Lignan Date: Wed, 11 Mar 2015 14:25:23 +0100 Subject: [PATCH] Removed duplicated condition in sht25 configuration --- platform/z1/dev/sht25.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {