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:
parent
17b786399c
commit
a1c4ba379f
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user