mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-05 04:05:34 +00:00
Removed duplicated condition in sht25 configuration
This commit is contained in:
parent
c169b3e3bb
commit
64fd000e5d
@ -46,7 +46,7 @@ static uint8_t enabled;
|
|||||||
static int
|
static int
|
||||||
configure(int type, int value)
|
configure(int type, int value)
|
||||||
{
|
{
|
||||||
if((type != SENSORS_ACTIVE) && (type != SENSORS_ACTIVE)) {
|
if(type != SENSORS_ACTIVE) {
|
||||||
return SHT25_ERROR;
|
return SHT25_ERROR;
|
||||||
}
|
}
|
||||||
if(value) {
|
if(value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user