Skip to content

Commit

Permalink
AP_EFI: Hirth: fix sensor health bitmask
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 authored and peterbarker committed Sep 13, 2024
1 parent e32d3ce commit 72a0139
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libraries/AP_EFI/AP_EFI_Serial_Hirth.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 72a0139

Please sign in to comment.