ekf2: scope HeightSensor enum

This commit is contained in:
bresch
2023-12-05 11:22:59 -05:00
committed by Daniel Agar
parent 6bd1145006
commit a3515a2474
8 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ void Ekf::checkHeightSensorRefFallback()
HeightSensor fallback_list[4];
switch (_params.height_sensor_ref) {
switch (static_cast<HeightSensor>(_params.height_sensor_ref)) {
default:
/* FALLTHROUGH */