mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-28 20:40:24 +00:00
boot: correct typo in MipiCal03 config
This commit is contained in:
parent
80c380e61e
commit
cf6b9de370
2 changed files with 4 additions and 5 deletions
|
@ -135,11 +135,10 @@ static inline void DoDsiSleepOrRegisterWrites(const DsiSleepOrRegisterWrite *reg
|
|||
if (reg_writes[i].kind == DsiSleepOrRegisterWriteKind_Write) {
|
||||
*(reinterpret_cast<volatile u32 *>(g_dsi_regs + sizeof(u32) * reg_writes[i].offset)) = reg_writes[i].value;
|
||||
} else if (reg_writes[i].kind == DsiSleepOrRegisterWriteKind_Sleep) {
|
||||
svcSleepThread(1'000'000ul * reg_writes[i].offset);
|
||||
svcSleepThread(1'000'000ul * u64(reg_writes[i].offset));
|
||||
} else {
|
||||
std::abort();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -403,7 +403,7 @@ static constexpr RegisterWrite DisplayConfigMipiCal03Erista[] = {
|
|||
{0x64, 0x200002},
|
||||
{0x68, 0x200002},
|
||||
{0x14, 0},
|
||||
{0x14, 0},
|
||||
{0x18, 0},
|
||||
};
|
||||
|
||||
static constexpr RegisterWrite DisplayConfigMipiCal03Mariko[] = {
|
||||
|
@ -411,8 +411,8 @@ static constexpr RegisterWrite DisplayConfigMipiCal03Mariko[] = {
|
|||
{0x3C, 0x200006},
|
||||
{0x64, 0x260000},
|
||||
{0x68, 0x260000},
|
||||
{0x14, 0x200000},
|
||||
{0x14, 0x200000},
|
||||
{0x14, 0},
|
||||
{0x18, 0},
|
||||
};
|
||||
|
||||
static constexpr RegisterWrite DisplayConfigMipiCal04[] = {
|
||||
|
|
Loading…
Reference in a new issue