Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebce8fc9 authored by Scott Randolph's avatar Scott Randolph
Browse files

Add TURN_SIGNAL_STATE to enum VehicleProperty

While we have defined values for turn signal state, we were missing
a property id to allow it to be reported by the vehicle.

Test: local build
Change-Id: Ib741c717f62df8edaa187413e9114411c55b0420
parent a36e4c27
Loading
Loading
Loading
Loading
+18 −5
Original line number Diff line number Diff line
@@ -295,6 +295,20 @@ enum VehicleProperty: int32_t {
        | VehiclePropertyType:BOOLEAN
        | VehicleArea:GLOBAL),

    /*
     * State of the vehicles turn signals
     *
     * Values from VehicleTurnSignal
     *
     * @change_mode VehiclePropertyChangeMode:ON_CHANGE
     * @access VehiclePropertyAccess:READ
     */
    TURN_SIGNAL_STATE = (
        0x0408
        | VehiclePropertyGroup:SYSTEM
        | VehiclePropertyType:INT32
        | VehicleArea:GLOBAL),

    /*
     * Fan speed setting
     *
@@ -2420,8 +2434,9 @@ enum SubscribeFlags {
  UNDEFINED = 0x0,

  /*
   * Subscribe to event that was originated in vehicle HAL (most luckly this
   * event came from vehicle itself). */
   * Subscribe to event that was originated in vehicle HAL
   * (most likely this event came from the vehicle itself).
   */
  HAL_EVENT = 0x1,

  /*
@@ -2457,9 +2472,7 @@ struct SubscribeOptions {
   */
  float sampleRate;

  /*
   * Flags that indicates what kind of events listen to.
   */
  /* Flags that indicate what kind of events listen to. */
  SubscribeFlags flags;
};