drivers/sensors/hdc1008: add missing break

It was not possible to use the HDC1008_MEAS_T_AND_RH
operation mode since it was running the default case too.
This commit is contained in:
Diego Herranz 2021-05-07 23:41:43 +01:00 committed by Alan Carvalho de Assis
parent 17b786399c
commit a1c4ba379f

View File

@ -299,6 +299,7 @@ static int hdc1008_set_operational_mode(struct hdc1008_dev_s *priv,
case HDC1008_MEAS_T_AND_RH:
{
reg |= HDC1008_CONFIGURATION_MODE;
break;
}
default: