Skip to content

Commit

Permalink
Oops, fix req_rota on the Libra
Browse files Browse the repository at this point in the history
Kinda forgot the other side of the branch, there... :D.
  • Loading branch information
NiLuJe committed Oct 22, 2019
1 parent 4f0230b commit a1e32e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions utils/doom.c
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,8 @@ int
// and, hopefully, less insane rotation quirks ;).
if (deviceQuirks.ntxRotaQuirk != NTX_ROTA_SANE) {
req_rota = (deviceQuirks.ntxBootRota + 1) & 3;
} else {
req_rota = deviceQuirks.ntxBootRota;
}
LOG("Device's expected Portrait orientation should be: %hhd (%s)!",
req_rota,
Expand Down
2 changes: 2 additions & 0 deletions utils/fbdepth.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,8 @@ int
// and, hopefully, less insane rotation quirks ;).
if (deviceQuirks.ntxRotaQuirk != NTX_ROTA_SANE) {
req_rota = (deviceQuirks.ntxBootRota + 1) & 3;
} else {
req_rota = deviceQuirks.ntxBootRota;
}
LOG("Device's expected Portrait orientation should be: %hhd (%s)!",
req_rota,
Expand Down

0 comments on commit a1e32e9

Please sign in to comment.