[chronojump] New configChronojump option: LowCPU
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] New configChronojump option: LowCPU
- Date: Fri, 26 Feb 2021 13:05:28 +0000 (UTC)
commit f64d8f3e2efeac50555881385fb290c226de7d11
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Feb 26 14:04:03 2021 +0100
New configChronojump option: LowCPU
src/config.cs | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/config.cs b/src/config.cs
index 07103ca2..8dd2b9c3 100644
--- a/src/config.cs
+++ b/src/config.cs
@@ -58,6 +58,7 @@ public class Config
public ExhibitionTest.testTypes ExhibitionStationType;
public bool Raspberry;
public bool LowHeight; //devices with less than 500 px vertical, like Odroid Go Super
+ public bool LowCPU; //workaround to not show realtime graph on force sensor capture (until its
optimized)
public bool GuiTest;
/*
* unused because the default serverURL chronojump.org is ok:
@@ -140,6 +141,8 @@ public class Config
Raspberry = true;
else if(parts[0] == "LowHeight" && Util.StringToBool(parts[1]))
LowHeight = true;
+ else if(parts[0] == "LowCPU" && Util.StringToBool(parts[1]))
+ LowCPU = true;
else if(parts[0] == "GuiTest" && Util.StringToBool(parts[1]))
GuiTest = true;
} while(true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]