mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-26 13:52:21 +00:00
fusee: fix log_inverted flag parse
This commit is contained in:
parent
44beeecc9e
commit
31d44d821f
1 changed files with 1 additions and 1 deletions
|
@ -651,7 +651,7 @@ namespace ams::nxboot {
|
||||||
} else if (std::strcmp(entry.key, "log_baud_rate") == 0) {
|
} else if (std::strcmp(entry.key, "log_baud_rate") == 0) {
|
||||||
storage_ctx.log_baud_rate = ParseDecimalInteger(entry.value);
|
storage_ctx.log_baud_rate = ParseDecimalInteger(entry.value);
|
||||||
} else if (std::strcmp(entry.key, "log_inverted") == 0) {
|
} else if (std::strcmp(entry.key, "log_inverted") == 0) {
|
||||||
if (entry.value[0] == 1) {
|
if (entry.value[0] == '1') {
|
||||||
storage_ctx.log_flags |= uart::Flag_Inverted;
|
storage_ctx.log_flags |= uart::Flag_Inverted;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue