MaxRPM calibration tweaks

This commit is contained in:
Serge
2023-07-27 23:50:31 +02:00
parent b7910d9f79
commit b304ce22b9
5 changed files with 54 additions and 18 deletions

View File

@@ -96,8 +96,15 @@ public static class AppConfig
public static int Get(string name, int empty = -1)
{
if (config.ContainsKey(name))
{
//Debug.WriteLine(name);
return int.Parse(config[name].ToString());
else return empty;
}
else
{
//Debug.WriteLine(name + "E");
return empty;
}
}
public static bool Is(string name)