diff --git a/chuni-hands.sln.DotSettings b/chuni-hands.sln.DotSettings
index 6005c6e..ead817d 100644
--- a/chuni-hands.sln.DotSettings
+++ b/chuni-hands.sln.DotSettings
@@ -1,2 +1,3 @@
+ True
True
\ No newline at end of file
diff --git a/chuni-hands/ChuniIO.cs b/chuni-hands/ChuniIO.cs
index 43b6412..cbd61ab 100644
--- a/chuni-hands/ChuniIO.cs
+++ b/chuni-hands/ChuniIO.cs
@@ -20,7 +20,7 @@ namespace chuni_hands {
data[i] = (byte) (sensors[i].Active ? 0x80 : 0x00);
}
- _accessor.WriteArray(0, data, 0, 6);
+ _accessor.WriteArray(0, data, 0, 6);
}
private static void Initialize() {
diff --git a/chuni-hands/MainWindow.xaml.cs b/chuni-hands/MainWindow.xaml.cs
index 59b73b2..6df7bb4 100644
--- a/chuni-hands/MainWindow.xaml.cs
+++ b/chuni-hands/MainWindow.xaml.cs
@@ -15,16 +15,16 @@ namespace chuni_hands {
private const string ConfigFile = "chuni-hands.json";
private VideoCapture _capture;
- private Config _config = new Config();
- private volatile bool _closing = false;
+ private readonly List _sensors = new List(5);
private readonly Mat _mat = new Mat();
private byte[] _matData = new byte[0];
- private readonly List _sensors = new List(5);
- private Task _captureTask;
private bool _hasPendingReset = false;
- private HttpClient _http = new HttpClient();
- public Config Config => _config;
+ private Task _captureTask;
+ private volatile bool _closing = false;
+
+ private readonly Config _config = new Config();
+ private readonly HttpClient _http = new HttpClient();
public MainWindow() {
if (File.Exists(ConfigFile)) {
diff --git a/chuni-hands/Sensor.cs b/chuni-hands/Sensor.cs
index 5f1e417..90572db 100644
--- a/chuni-hands/Sensor.cs
+++ b/chuni-hands/Sensor.cs
@@ -11,8 +11,8 @@ namespace chuni_hands {
public int Size => _config.SensorSize;
private Mat _startValue;
- private Config _config;
- private int _id;
+ private readonly Config _config;
+ private readonly int _id;
public Sensor(int id, Config config) {
_id = id;