mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-22 19:22:40 +02:00
fusee: fix log_inverted flag parse
This commit is contained in:
parent
44beeecc9e
commit
31d44d821f
@ -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 New Issue
Block a user