sensor: fix fallthrough on sample_channel_get on AQI

fixed fallthrough on getting channel AQI value from ENS160

Signed-off-by: Krystian Dolatowski <kryqpl1@gmail.com>
This commit is contained in:
Krystian Dolatowski 2024-06-10 20:33:55 +02:00 committed by Anas Nashif
commit 317abcc589

View file

@ -148,6 +148,7 @@ static int ens160_channel_get(const struct device *dev, enum sensor_channel chan
case SENSOR_CHAN_ENS160_AQI:
val->val1 = data->aqi;
val->val2 = 0;
break;
default:
return -ENOTSUP;
}