From 482058a20cffd9635ecc7d6da0987f19cc1d9788 Mon Sep 17 00:00:00 2001 From: Bob Long Date: Fri, 13 Sep 2024 07:57:04 +1000 Subject: [PATCH] AP_EFI: Hirth: fix sensor health bitmask --- libraries/AP_EFI/AP_EFI_Serial_Hirth.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/AP_EFI/AP_EFI_Serial_Hirth.h b/libraries/AP_EFI/AP_EFI_Serial_Hirth.h index ca2ccac321..3ca06ff517 100644 --- a/libraries/AP_EFI/AP_EFI_Serial_Hirth.h +++ b/libraries/AP_EFI/AP_EFI_Serial_Hirth.h @@ -47,10 +47,10 @@ class AP_EFI_Serial_Hirth: public AP_EFI_Backend { }; enum class Sensor_Status_Bitfield : uint8_t { - ENGINE_TEMP_SENSOR_OK = 1U<<0, // true if engine temperature sensor is OK - AIR_TEMP_SENSOR_OK = 1U<<1, // true if air temperature sensor is OK - AIR_PRESSURE_SENSOR_OK = 1U<<2, // true if intake air pressure sensor is OK - THROTTLE_SENSOR_OK = 1U<<3, // true if throttle sensor is OK + ENGINE_TEMP_SENSOR_OK = 1U<<1, // true if engine temperature sensor is OK + AIR_TEMP_SENSOR_OK = 1U<<2, // true if air temperature sensor is OK + AIR_PRESSURE_SENSOR_OK = 1U<<3, // true if intake air pressure sensor is OK + THROTTLE_SENSOR_OK = 1U<<4, // true if throttle sensor is OK }; private: