target: e2k: Fix extraction of lp index.

This commit is contained in:
Denis Drakhnia 2020-11-24 09:47:10 +02:00 committed by Alibek Omarov
parent f1e58bc551
commit 505a2a1acd
1 changed files with 2 additions and 2 deletions

View File

@ -63,8 +63,8 @@ static inline void scan_needed(const UnpackedBundle *bundle, int need[7])
continue;
}
p0 = GET_FIELD(bundle->pls[i], 10, 4);
p1 = GET_FIELD(bundle->pls[i], 6, 4);
p0 = GET_FIELD(bundle->pls[i], 10, 3);
p1 = GET_FIELD(bundle->pls[i], 6, 3);
if (p0 < 7 && need[p0] == 0) {
need[p0] = 1;