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

Commit 187edc86 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Skip SensorAdditionalInfo in fusion" into main

parents 0bddb611 12548301
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -81,6 +81,9 @@ SensorFusion::SensorFusion()
}

void SensorFusion::process(const sensors_event_t& event) {
    // sensor additional info is not currently used in fusion algorithm
    if (event.type == SENSOR_TYPE_ADDITIONAL_INFO)
        return;

    if (event.sensor == mGyro.getHandle()) {
        float dT;