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

Commit 44272133 authored by Henry Fang's avatar Henry Fang Committed by Automerger Merge Worker
Browse files

UEC is not static on real device, so check its range intead of specific value am: c2794f8c

parents c5bde9bb c2794f8c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -378,7 +378,7 @@ void FrontendTests::verifyFrontendStatusExt1_1(vector<FrontendStatusTypeExt1_1>
                break;
            }
            case FrontendStatusTypeExt1_1::UEC: {
                ASSERT_TRUE(realStatuses[i].uec() == expectStatuses[i].uec());
                ASSERT_TRUE(realStatuses[i].uec() >= 0 );
                break;
            }
            case FrontendStatusTypeExt1_1::T2_SYSTEM_ID: {
+1 −1
Original line number Diff line number Diff line
@@ -86,7 +86,7 @@ inline void initFrontendConfig() {
    types.push_back(FrontendStatusTypeExt1_1::IS_MISO);
    vector<FrontendStatusExt1_1> statuses;
    FrontendStatusExt1_1 status;
    status.uec(4);
    status.uec(0);
    statuses.push_back(status);
    status.isMiso(true);
    statuses.push_back(status);