diff --git a/drivers/saul/adc_saul.c b/drivers/saul/adc_saul.c index 0180b9643f..5acbae45d8 100644 --- a/drivers/saul/adc_saul.c +++ b/drivers/saul/adc_saul.c @@ -30,8 +30,6 @@ static int read_adc(const void *dev, phydat_t *res) { const saul_adc_params_t *params = *((const saul_adc_params_t **)dev); res->val[0] = adc_sample(params->line, params->res); - res->val[1] = 0; - res->val[2] = 0; /* Raw ADC reading has no unit */ res->unit = UNIT_NONE; res->scale = 0; diff --git a/drivers/saul/gpio_saul.c b/drivers/saul/gpio_saul.c index c1b95600da..1934597822 100644 --- a/drivers/saul/gpio_saul.c +++ b/drivers/saul/gpio_saul.c @@ -33,8 +33,6 @@ static int read(const void *dev, phydat_t *res) res->val[0] = (gpio_read(p->pin)) ? !inverted : inverted; - res->val[1] = 0; - res->val[2] = 0; res->unit = UNIT_BOOL; res->scale = 0; return 1;