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

Commit a9f1356c authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add missing typedefs for C compat." into main am: d575c5b7

parents 538109a0 d575c5b7
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -85,6 +85,7 @@ enum AThermalStatus {
    /** Need shutdown immediately. */
    ATHERMAL_STATUS_SHUTDOWN = 6,
};
typedef enum AThermalStatus AThermalStatus;

/**
 * An opaque type representing a handle to a thermal manager.
@@ -240,6 +241,7 @@ struct AThermalHeadroomThreshold {
    float headroom;
    AThermalStatus thermalStatus;
};
typedef struct AThermalHeadroomThreshold AThermalHeadroomThreshold;

/**
 * Gets the thermal headroom thresholds for all available thermal status.