upright screens take 2

This commit is contained in:
galister
2024-02-06 01:31:44 +01:00
parent 26b1961376
commit 926e5d9ec4
2 changed files with 21 additions and 18 deletions

View File

@@ -19,6 +19,10 @@ fn def_true() -> bool {
true
}
fn def_false() -> bool {
false
}
fn def_one() -> f32 {
1.0
}
@@ -49,6 +53,9 @@ pub struct GeneralConfig {
#[serde(default = "def_osc_port")]
pub osc_out_port: u16,
#[serde(default = "def_false")]
pub upright_screen_fix: bool,
}
impl GeneralConfig {